mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Unlock overalltheme switching
This commit is contained in:
@@ -303,7 +303,7 @@ export default async function (webRouter, privateApiRouter, publicApiRouter) {
|
||||
|
||||
webRouter.use(function (req, res, next) {
|
||||
// TODO
|
||||
if (Settings.overleaf != null) {
|
||||
if (true) {
|
||||
res.locals.overallThemes = [
|
||||
{
|
||||
name: 'Dark',
|
||||
|
||||
@@ -58,7 +58,7 @@ meta(name="ol-translationIoNotLoaded" data-type="string" content=translate("coul
|
||||
meta(name="ol-translationLoadErrorMessage" data-type="string" content=translate("could_not_load_translations"))
|
||||
meta(name="ol-translationUnableToJoin" data-type="string" content=translate("could_not_connect_to_collaboration_server"))
|
||||
|
||||
if (settings.overleaf != null)
|
||||
meta(name="ol-overallThemes" data-type="json" content=overallThemes)
|
||||
//- if (settings.overleaf != null)
|
||||
meta(name="ol-overallThemes" data-type="json" content=overallThemes)
|
||||
|
||||
!= moduleIncludes("editor:meta", locals)
|
||||
|
||||
Reference in New Issue
Block a user