Merge pull request #3438 from overleaf/jel-fix-anonymous

Fix anonymous editor viewing

GitOrigin-RevId: 843ddac4491454bee73821a03068d304649ab30b
This commit is contained in:
Paulo Jorge Reis
2020-12-04 03:05:28 +00:00
committed by Copybot
parent adc98d22ab
commit 88331582c3
2 changed files with 5 additions and 3 deletions
@@ -1045,7 +1045,9 @@ var defaultSettingsForAnonymousUser = userId => ({
},
featureSwitches: {
github: false
}
},
alphaProgram: false,
betaProgram: false
})
var THEME_LIST = []
@@ -403,5 +403,5 @@ script(type='text/ng-template', id='clearCacheModalTemplate')
span(ng-show="!state.inflight") #{translate("clear_cache")}
span(ng-show="state.inflight") #{translate("clearing")}…
script.
window.showNewLogsUI = #{showNewLogsUI}
script(type="text/javascript").
window.showNewLogsUI = '#{showNewLogsUI}'