Explorar o código

Merge pull request #15214 from overleaf/ae-legacy-source-editor

Remove legacy source editor option from Server CE/Pro

GitOrigin-RevId: 32a7bf9b54c0082f3ab3ffb5fa11f5b4f2a3bf64
Alf Eaton %!s(int64=3) %!d(string=hai) anos
pai
achega
ef3e8f666b
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      services/web/app/src/Features/Project/ProjectController.js

+ 4 - 4
services/web/app/src/Features/Project/ProjectController.js

@@ -815,10 +815,10 @@ const ProjectController = {
 
             const detachRole = req.params.detachRole
 
-            const showLegacySourceEditor =
-              !Features.hasFeature('saas') ||
-              // Allow override via legacy_source_editor=true in query string
-              shouldDisplayFeature('legacy_source_editor')
+            // Allow override via legacy_source_editor=true in query string
+            const showLegacySourceEditor = shouldDisplayFeature(
+              'legacy_source_editor'
+            )
 
             const showSymbolPalette =
               !Features.hasFeature('saas') ||