From 478b5fc6574765072eafd4fa074ae832e67627bf Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Mon, 19 Aug 2019 12:11:38 +0200 Subject: Add trial / subscription handling --- src/features/workspaces/store.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/features/workspaces/store.js') diff --git a/src/features/workspaces/store.js b/src/features/workspaces/store.js index caa73619e..e44569be9 100644 --- a/src/features/workspaces/store.js +++ b/src/features/workspaces/store.js @@ -256,8 +256,8 @@ export default class WorkspacesStore extends FeatureStore { const { features, user } = this.stores; const { isPremium } = user.data; const { isWorkspaceIncludedInCurrentPlan } = features.features; - this.isPremiumFeature = isWorkspaceIncludedInCurrentPlan; - this.isPremiumUpgradeRequired = isWorkspaceIncludedInCurrentPlan && !isPremium; + this.isPremiumFeature = !isWorkspaceIncludedInCurrentPlan; + this.isPremiumUpgradeRequired = !isWorkspaceIncludedInCurrentPlan && !isPremium; }; _setWorkspaceBeingEditedReaction = () => { -- cgit v1.2.3-54-g00ecf