diff --git a/services/web/app/src/infrastructure/Features.js b/services/web/app/src/infrastructure/Features.js index 0b2a831b4d..0a90b8af01 100644 --- a/services/web/app/src/infrastructure/Features.js +++ b/services/web/app/src/infrastructure/Features.js @@ -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': diff --git a/services/web/test/acceptance/config/settings.test.coffee b/services/web/test/acceptance/config/settings.test.coffee index 481d00dc8e..319dcd7b2a 100644 --- a/services/web/test/acceptance/config/settings.test.coffee +++ b/services/web/test/acceptance/config/settings.test.coffee @@ -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