From 44a7cfc62d1a1352a9825d172428b12dca44cab0 Mon Sep 17 00:00:00 2001 From: vantezzen Date: Sat, 7 Sep 2019 16:12:13 +0200 Subject: Remove service limit and enable workspaces --- src/features/workspaces/store.js | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src/features/workspaces/store.js') diff --git a/src/features/workspaces/store.js b/src/features/workspaces/store.js index 4a1f80b4e..bdec530ec 100644 --- a/src/features/workspaces/store.js +++ b/src/features/workspaces/store.js @@ -20,13 +20,13 @@ import { createActionBindings } from '../utils/ActionBinding'; const debug = require('debug')('Franz:feature:workspaces:store'); export default class WorkspacesStore extends FeatureStore { - @observable isFeatureEnabled = false; + @observable isFeatureEnabled = true; @observable isFeatureActive = false; - @observable isPremiumFeature = true; + @observable isPremiumFeature = false; - @observable isPremiumUpgradeRequired = true; + @observable isPremiumUpgradeRequired = false; @observable activeWorkspace = null; @@ -54,7 +54,8 @@ export default class WorkspacesStore extends FeatureStore { } @computed get isUserAllowedToUseFeature() { - return !this.isPremiumUpgradeRequired; + return true; + // return !this.isPremiumUpgradeRequired; } @computed get isAnyWorkspaceActive() { @@ -253,10 +254,10 @@ export default class WorkspacesStore extends FeatureStore { }; _setIsPremiumFeatureReaction = () => { - const { features } = this.stores; - const { isWorkspaceIncludedInCurrentPlan } = features.features; - this.isPremiumFeature = !isWorkspaceIncludedInCurrentPlan; - this.isPremiumUpgradeRequired = !isWorkspaceIncludedInCurrentPlan; + // const { features } = this.stores; + // const { isWorkspaceIncludedInCurrentPlan } = features.features; + // this.isPremiumFeature = !isWorkspaceIncludedInCurrentPlan; + // this.isPremiumUpgradeRequired = !isWorkspaceIncludedInCurrentPlan; }; _setWorkspaceBeingEditedReaction = () => { -- cgit v1.2.3-54-g00ecf