mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-11 15:10:48 +02:00
affiliations flag checks Settings.overleaf (#2080)
GitOrigin-RevId: c0dc5a8c1e6ad6c5ddb055ccfc21c901d66a9827
This commit is contained in:
committed by
sharelatex
parent
9833f1ec93
commit
e8790a638c
@@ -43,7 +43,7 @@ module.exports = Features = {
|
||||
case 'view-templates':
|
||||
return Settings.overleaf == null
|
||||
case 'affiliations':
|
||||
return !!Settings.apis.v1.url
|
||||
return Settings.overleaf != null
|
||||
case 'redirect-sl':
|
||||
return Settings.redirectToV2 != null
|
||||
case 'overleaf-integration':
|
||||
|
||||
@@ -155,3 +155,6 @@ module.exports =
|
||||
name: 'google'
|
||||
},
|
||||
|
||||
# setting to true since many features are enabled/disabled after availability of this
|
||||
# property (check Features.js)
|
||||
overleaf: true
|
||||
|
||||
Reference in New Issue
Block a user