diff options
author | Stefan Malzner <stefan@adlk.io> | 2019-10-16 15:16:26 +0200 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2019-10-16 15:16:26 +0200 |
commit | 0b08e1e7e6a07acd21af71fd27f4c4acfa34dbba (patch) | |
tree | 9ee5b287f3c0451012153cf281659159597d63e7 /src/stores/UserStore.js | |
parent | polishing (diff) | |
download | ferdium-app-0b08e1e7e6a07acd21af71fd27f4c4acfa34dbba.tar.gz ferdium-app-0b08e1e7e6a07acd21af71fd27f4c4acfa34dbba.tar.zst ferdium-app-0b08e1e7e6a07acd21af71fd27f4c4acfa34dbba.zip |
Add trialStatusBar & polishing
Diffstat (limited to 'src/stores/UserStore.js')
-rw-r--r-- | src/stores/UserStore.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stores/UserStore.js b/src/stores/UserStore.js index b652098f9..735e8f886 100644 --- a/src/stores/UserStore.js +++ b/src/stores/UserStore.js | |||
@@ -77,6 +77,8 @@ export default class UserStore extends Store { | |||
77 | 77 | ||
78 | @observable logoutReason = null; | 78 | @observable logoutReason = null; |
79 | 79 | ||
80 | fetchUserInfoInterval = null; | ||
81 | |||
80 | constructor(...args) { | 82 | constructor(...args) { |
81 | super(...args); | 83 | super(...args); |
82 | 84 | ||
@@ -161,7 +163,7 @@ export default class UserStore extends Store { | |||
161 | } | 163 | } |
162 | 164 | ||
163 | @computed get isPremiumOverride() { | 165 | @computed get isPremiumOverride() { |
164 | return ((!this.team || !this.team.plan) && this.isPremium) || (this.team.state === 'expired' && this.isPremium); | 166 | return ((!this.team || !this.team.plan) && this.isPremium) || (this.team && this.team.state === 'expired' && this.isPremium); |
165 | } | 167 | } |
166 | 168 | ||
167 | @computed get isPersonal() { | 169 | @computed get isPersonal() { |