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

Remove legacy source editor option from Server CE/Pro

GitOrigin-RevId: 32a7bf9b54c0082f3ab3ffb5fa11f5b4f2a3bf64
This commit is contained in:
Alf Eaton 2023-10-19 09:38:56 +01:00 committed by Copybot
parent adb53b8964
commit ef3e8f666b

View file

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