Use hasFeature function instead of new standalone function

This commit is contained in:
Alasdair Smith
2018-07-18 09:26:03 +01:00
parent 85313f1b5a
commit 9cd3f32365
2 changed files with 4 additions and 5 deletions
@@ -345,7 +345,7 @@ module.exports = ProjectController =
themes: THEME_LIST
maxDocLength: Settings.max_doc_length
useV2History: !!project.overleaf?.history?.display
richTextEnabled: Features.richTextEnabled()
richTextEnabled: Features.hasFeature('rich-text')
showTestControls: req.query?.tc == 'true' || user.isAdmin
showPublishModal: req.query?.pm == 'true'
timer.done()