Merge pull request #582 from sharelatex/sk-add-test-controls-panel

Add a "Test Controls" section to the left-panel
This commit is contained in:
Shane Kilkelly
2018-05-24 11:41:10 +01:00
committed by GitHub
5 changed files with 37 additions and 0 deletions
@@ -341,6 +341,7 @@ module.exports = ProjectController =
maxDocLength: Settings.max_doc_length
useV2History: !!project.overleaf?.history?.display
showRichText: req.query?.rt == 'true'
showTestControls: req.query?.tc == 'true' || user.isAdmin
showPublishModal: req.query?.pm == 'true'
timer.done()