diff options
Diffstat (limited to 'src/stores/UserStore.js')
-rw-r--r-- | src/stores/UserStore.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stores/UserStore.js b/src/stores/UserStore.js index 7ac7d2375..d44208923 100644 --- a/src/stores/UserStore.js +++ b/src/stores/UserStore.js | |||
@@ -168,9 +168,9 @@ export default class UserStore extends Store { | |||
168 | } | 168 | } |
169 | 169 | ||
170 | @computed get isPro() { | 170 | @computed get isPro() { |
171 | if (!this.team.plan && this.isPremium) return true; | 171 | if ((!this.team.plan || this.team.state !== 'expired') && this.isPremium) return true; |
172 | 172 | ||
173 | if (!this.team.plan) return false; | 173 | if ((!this.team.plan || this.team.state === 'expired')) return false; |
174 | const plan = getPlan(this.team.plan); | 174 | const plan = getPlan(this.team.plan); |
175 | 175 | ||
176 | return plan === PLANS.PRO; | 176 | return plan === PLANS.PRO; |