Jelajahi Sumber

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

Remove legacy source editor option from Server CE/Pro

GitOrigin-RevId: 32a7bf9b54c0082f3ab3ffb5fa11f5b4f2a3bf64
Alf Eaton 3 tahun lalu
induk
melakukan
ef3e8f666b

+ 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') ||