aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/UserStore.js
diff options
context:
space:
mode:
authorLibravatar vantezzen <properly@protonmail.com>2019-09-07 16:12:13 +0200
committerLibravatar vantezzen <properly@protonmail.com>2019-09-07 16:12:13 +0200
commit44a7cfc62d1a1352a9825d172428b12dca44cab0 (patch)
tree15cc743be3347390aa223abfeec3cc2054a23882 /src/stores/UserStore.js
parentBump version number (diff)
downloadferdium-app-44a7cfc62d1a1352a9825d172428b12dca44cab0.tar.gz
ferdium-app-44a7cfc62d1a1352a9825d172428b12dca44cab0.tar.zst
ferdium-app-44a7cfc62d1a1352a9825d172428b12dca44cab0.zip
Remove service limit and enable workspaces
Diffstat (limited to 'src/stores/UserStore.js')
-rw-r--r--src/stores/UserStore.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/stores/UserStore.js b/src/stores/UserStore.js
index e1d9672b6..b2649e2e8 100644
--- a/src/stores/UserStore.js
+++ b/src/stores/UserStore.js
@@ -156,7 +156,7 @@ export default class UserStore extends Store {
156 } 156 }
157 157
158 @computed get isPremium() { 158 @computed get isPremium() {
159 return !!this.data.isPremium; 159 return true;
160 } 160 }
161 161
162 @computed get isPremiumOverride() { 162 @computed get isPremiumOverride() {
@@ -171,12 +171,13 @@ export default class UserStore extends Store {
171 } 171 }
172 172
173 @computed get isPro() { 173 @computed get isPro() {
174 if (this.isPremiumOverride) return true; 174 return true;
175 // if (this.isPremiumOverride) return true;
175 176
176 if (!this.team || (!this.team.plan || this.team.state === 'expired')) return false; 177 // if (!this.team || (!this.team.plan || this.team.state === 'expired')) return false;
177 const plan = getPlan(this.team.plan); 178 // const plan = getPlan(this.team.plan);
178 179
179 return plan === PLANS.PRO || plan === PLANS.LEGACY; 180 // return plan === PLANS.PRO || plan === PLANS.LEGACY;
180 } 181 }
181 182
182 @computed get legacyServices() { 183 @computed get legacyServices() {