mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #15513 from overleaf/jpa-consistent-return-type
[web] ExpressLocals: avoid returning undefined from getCssThemeModifier GitOrigin-RevId: f5256719c2b4f06e2957f6bc971d3c895bdff5d2
This commit is contained in:
parent
f061a4add4
commit
6906c6a28c
1 changed files with 1 additions and 0 deletions
|
@ -212,6 +212,7 @@ module.exports = function (webRouter, privateApiRouter, publicApiRouter) {
|
||||||
return userSettings.overallTheme
|
return userSettings.overallTheme
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return ''
|
||||||
}
|
}
|
||||||
|
|
||||||
res.locals.buildStylesheetPath = function (cssFileName) {
|
res.locals.buildStylesheetPath = function (cssFileName) {
|
||||||
|
|
Loading…
Reference in a new issue