diff options
author | 2019-03-21 12:35:56 +0100 | |
---|---|---|
committer | 2019-03-21 12:35:56 +0100 | |
commit | 489d4cee38daf6177a9a914d3ccb5048c8acd01a (patch) | |
tree | 8f712b9f9ae8249653ad5376c9ce679413206026 /src/stores | |
parent | change workspace switch shortcuts to start with zero (diff) | |
download | ferdium-app-489d4cee38daf6177a9a914d3ccb5048c8acd01a.tar.gz ferdium-app-489d4cee38daf6177a9a914d3ccb5048c8acd01a.tar.zst ferdium-app-489d4cee38daf6177a9a914d3ccb5048c8acd01a.zip |
add workspace drawer toggle menu item and shortcut
Diffstat (limited to 'src/stores')
-rw-r--r-- | src/stores/UserStore.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stores/UserStore.js b/src/stores/UserStore.js index 77d84afe1..534690fbb 100644 --- a/src/stores/UserStore.js +++ b/src/stores/UserStore.js | |||
@@ -142,6 +142,10 @@ export default class UserStore extends Store { | |||
142 | return this.getUserInfoRequest.execute().result || {}; | 142 | return this.getUserInfoRequest.execute().result || {}; |
143 | } | 143 | } |
144 | 144 | ||
145 | @computed get isPremium() { | ||
146 | return !!this.data.isPremium; | ||
147 | } | ||
148 | |||
145 | @computed get legacyServices() { | 149 | @computed get legacyServices() { |
146 | return this.getLegacyServicesRequest.execute() || {}; | 150 | return this.getLegacyServicesRequest.execute() || {}; |
147 | } | 151 | } |