mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-08 16:50:44 +02:00
Merge pull request #529 from sharelatex/sk-remove-templates-from-v2
Add `templates` to the `Features.hasFeature` function
This commit is contained in:
@@ -16,5 +16,7 @@ module.exports = Features =
|
||||
return Settings.accountMerge? and Settings.overleaf?
|
||||
when 'custom-togglers'
|
||||
return Settings.overleaf?
|
||||
when 'templates'
|
||||
return !Settings.overleaf?
|
||||
else
|
||||
throw new Error("unknown feature: #{feature}")
|
||||
|
||||
Reference in New Issue
Block a user