mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #2110 from overleaf/ta-affiliations-feature
make affiliations feature depend on the existence of v1 API GitOrigin-RevId: 0050c2f338eaab254583f4547630694725d90463
This commit is contained in:
parent
84de1af960
commit
6c6d8ba373
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ module.exports = Features = {
|
||||||
case 'view-templates':
|
case 'view-templates':
|
||||||
return Settings.overleaf == null
|
return Settings.overleaf == null
|
||||||
case 'affiliations':
|
case 'affiliations':
|
||||||
return Settings.overleaf != null
|
return Settings.apis.v1 != null
|
||||||
case 'redirect-sl':
|
case 'redirect-sl':
|
||||||
return Settings.redirectToV2 != null
|
return Settings.redirectToV2 != null
|
||||||
case 'overleaf-integration':
|
case 'overleaf-integration':
|
||||||
|
|
Loading…
Reference in a new issue