diff options
author | Stefan Malzner <stefan@adlk.io> | 2019-08-19 12:11:38 +0200 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2019-08-19 12:11:38 +0200 |
commit | 478b5fc6574765072eafd4fa074ae832e67627bf (patch) | |
tree | 07dba02a6746685b00106ae2f37b529573876852 /src/features | |
parent | remove monthly & yearly names (diff) | |
download | ferdium-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.js | 4 |
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 = () => { |