mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-03 06:09:02 +02:00
Make publishing and viewing templates separate features
This commit is contained in:
@@ -18,7 +18,9 @@ module.exports = Features =
|
||||
return Settings.showV2Banner
|
||||
when 'custom-togglers'
|
||||
return Settings.overleaf?
|
||||
when 'templates'
|
||||
when 'publish-templates'
|
||||
return true
|
||||
when 'view-templates'
|
||||
return !Settings.overleaf?
|
||||
when 'affiliations'
|
||||
return Settings?.apis?.v1?.url?
|
||||
|
||||
Reference in New Issue
Block a user