From ef3e8f666ba69a6be63b12bcb292cd683adb58af Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Thu, 19 Oct 2023 09:38:56 +0100 Subject: [PATCH] Merge pull request #15214 from overleaf/ae-legacy-source-editor Remove legacy source editor option from Server CE/Pro GitOrigin-RevId: 32a7bf9b54c0082f3ab3ffb5fa11f5b4f2a3bf64 --- .../web/app/src/Features/Project/ProjectController.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/services/web/app/src/Features/Project/ProjectController.js b/services/web/app/src/Features/Project/ProjectController.js index a05fcf6078..fcf7952e39 100644 --- a/services/web/app/src/Features/Project/ProjectController.js +++ b/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') ||