mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Merge pull request #36181 from overleaf/mj-offline-mode-feature
[web] Add offline mode to feature set GitOrigin-RevId: 93d2ed373af5b46f5ead924c14605775826c46e3
This commit is contained in:
committed by
Copybot
parent
42feabe643
commit
f7de42f1d3
@@ -44,10 +44,9 @@ function mount(
|
||||
intermittentConnectionImprovementsEnabled?: boolean
|
||||
} = {}
|
||||
) {
|
||||
// the provider reads getMeta('ol-user') to decide the lock threshold; the
|
||||
// `versioning` feature marks a premium user
|
||||
// the provider reads getMeta('ol-user') to decide the lock threshold
|
||||
window.metaAttributesCache.set('ol-user', {
|
||||
features: isPremiumUser ? { versioning: true } : {},
|
||||
features: isPremiumUser ? { offlineMode: true } : {},
|
||||
})
|
||||
// the provider reads the split test variant via useFeatureFlag
|
||||
window.metaAttributesCache.set('ol-splitTestVariants', {
|
||||
|
||||
Reference in New Issue
Block a user