mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-10 19:17:10 +00:00
Merge pull request #5620 from overleaf/jpa-true-pro-features-override
[web] creating a professional feature override should populate all flags GitOrigin-RevId: e5ee4464ac2cedac7cc919195ac2a4240fb9285f
This commit is contained in:
parent
d706109823
commit
71b5a4938d
1 changed files with 5 additions and 0 deletions
|
@ -35,6 +35,11 @@ function mergeFeatures(featuresA, featuresB) {
|
|||
features[key] = features[key] || featuresB[key]
|
||||
}
|
||||
}
|
||||
if (features.mendeley && features.referencesSearch && features.zotero) {
|
||||
// Back fill legacy feature flag for isFeatureSetBetter to work properly
|
||||
// with professional feature overrides.
|
||||
features.references = true
|
||||
}
|
||||
return features
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue