mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
affiliations flag checks Settings.overleaf
(#2080)
GitOrigin-RevId: c0dc5a8c1e6ad6c5ddb055ccfc21c901d66a9827
This commit is contained in:
parent
9833f1ec93
commit
e8790a638c
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue