From 2887eee3935e75640fc45111a904e78496dab62e Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Mon, 17 Jun 2019 16:52:46 +0200 Subject: Rename feature flags --- src/features/workspaces/store.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/features/workspaces/store.js') diff --git a/src/features/workspaces/store.js b/src/features/workspaces/store.js index 07b16ff23..e1adc9cab 100644 --- a/src/features/workspaces/store.js +++ b/src/features/workspaces/store.js @@ -251,9 +251,9 @@ export default class WorkspacesStore extends FeatureStore { _setIsPremiumFeatureReaction = () => { const { features, user } = this.stores; const { isPremium } = user.data; - const { isWorkspacePremiumFeature } = features.features; - this.isPremiumFeature = isWorkspacePremiumFeature; - this.isPremiumUpgradeRequired = isWorkspacePremiumFeature && !isPremium; + const { isWorkspaceIncludedInCurrentPlan } = features.features; + this.isPremiumFeature = isWorkspaceIncludedInCurrentPlan; + this.isPremiumUpgradeRequired = isWorkspaceIncludedInCurrentPlan && !isPremium; }; _setWorkspaceBeingEditedReaction = () => { -- cgit v1.2.3-54-g00ecf