mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-05 15:19:02 +02:00
Merge pull request #5983 from overleaf/jel-release-disable-ng-router
Release disabling angular router GitOrigin-RevId: be54f3cda5f0086ac2b6f3fcf56c4fa452d1bc0d
This commit is contained in:
@@ -870,11 +870,6 @@ const ProjectController = {
|
||||
newPdfPreviewAssignment.variant === 'react-pdf-preview'
|
||||
)
|
||||
|
||||
let disableAngularRouter = shouldDisplayFeature(
|
||||
'disable_angular_router',
|
||||
user.alphaProgram || user.betaProgram
|
||||
)
|
||||
|
||||
const showPdfDetach = shouldDisplayFeature(
|
||||
'pdf_detach',
|
||||
user.alphaProgram
|
||||
@@ -885,7 +880,6 @@ const ProjectController = {
|
||||
let detachRole = null
|
||||
|
||||
if (showPdfDetach) {
|
||||
disableAngularRouter = true
|
||||
showNewPdfPreview = true
|
||||
detachRole = req.params.detachRole
|
||||
}
|
||||
@@ -951,7 +945,6 @@ const ProjectController = {
|
||||
showPdfDetach,
|
||||
debugPdfDetach,
|
||||
showNewPdfPreview,
|
||||
disableAngularRouter,
|
||||
showNewSourceEditor: shouldDisplayFeature(
|
||||
'new_source_editor',
|
||||
false
|
||||
|
||||
Reference in New Issue
Block a user