aboutsummaryrefslogtreecommitdiffstats
path: root/src/features
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2019-08-19 12:11:38 +0200
committerLibravatar Stefan Malzner <stefan@adlk.io>2019-08-19 12:11:38 +0200
commit478b5fc6574765072eafd4fa074ae832e67627bf (patch)
tree07dba02a6746685b00106ae2f37b529573876852 /src/features
parentremove monthly & yearly names (diff)
downloadferdium-app-478b5fc6574765072eafd4fa074ae832e67627bf.tar.gz
ferdium-app-478b5fc6574765072eafd4fa074ae832e67627bf.tar.zst
ferdium-app-478b5fc6574765072eafd4fa074ae832e67627bf.zip
Add trial / subscription handling
Diffstat (limited to 'src/features')
-rw-r--r--src/features/workspaces/store.js4
1 files changed, 2 insertions, 2 deletions
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 {
256 const { features, user } = this.stores; 256 const { features, user } = this.stores;
257 const { isPremium } = user.data; 257 const { isPremium } = user.data;
258 const { isWorkspaceIncludedInCurrentPlan } = features.features; 258 const { isWorkspaceIncludedInCurrentPlan } = features.features;
259 this.isPremiumFeature = isWorkspaceIncludedInCurrentPlan; 259 this.isPremiumFeature = !isWorkspaceIncludedInCurrentPlan;
260 this.isPremiumUpgradeRequired = isWorkspaceIncludedInCurrentPlan && !isPremium; 260 this.isPremiumUpgradeRequired = !isWorkspaceIncludedInCurrentPlan && !isPremium;
261 }; 261 };
262 262
263 _setWorkspaceBeingEditedReaction = () => { 263 _setWorkspaceBeingEditedReaction = () => {