Pass rich text flag if query string is set

This commit is contained in:
Alasdair Smith 2018-04-06 16:58:12 +01:00
parent 315b2f24ee
commit d433a88158

View file

@ -301,6 +301,7 @@ module.exports = ProjectController =
themes: THEME_LIST
maxDocLength: Settings.max_doc_length
useV2History: !!project.overleaf?.history?.display
showRichText: req.query.rt == 'true'
timer.done()
_buildProjectList: (allProjects, v1Projects = [])->