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/stores/UserStore.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/stores/UserStore.js') 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 { } @computed get isPremium() { - return !!this.data.isPremium; + return true; } @computed get isPremiumOverride() { @@ -171,12 +171,13 @@ export default class UserStore extends Store { } @computed get isPro() { - if (this.isPremiumOverride) return true; + return true; + // if (this.isPremiumOverride) return true; - if (!this.team || (!this.team.plan || this.team.state === 'expired')) return false; - const plan = getPlan(this.team.plan); + // if (!this.team || (!this.team.plan || this.team.state === 'expired')) return false; + // const plan = getPlan(this.team.plan); - return plan === PLANS.PRO || plan === PLANS.LEGACY; + // return plan === PLANS.PRO || plan === PLANS.LEGACY; } @computed get legacyServices() { -- cgit v1.2.3-54-g00ecf