mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-04 22:37:10 +00:00
Show test-controls for admin users by default
This commit is contained in:
parent
561b62f7db
commit
ba9143fc3c
1 changed files with 1 additions and 1 deletions
|
@ -344,7 +344,7 @@ module.exports = ProjectController =
|
|||
maxDocLength: Settings.max_doc_length
|
||||
useV2History: !!project.overleaf?.history?.display
|
||||
showRichText: req.query?.rt == 'true'
|
||||
showTestControls: req.query?.tc == 'true'
|
||||
showTestControls: req.query?.tc == 'true' || user.isAdmin
|
||||
showPublishModal: req.query?.pm == 'true'
|
||||
timer.done()
|
||||
|
||||
|
|
Loading…
Reference in a new issue