aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores
diff options
context:
space:
mode:
authorLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-03-21 12:35:56 +0100
committerLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-03-21 12:35:56 +0100
commit489d4cee38daf6177a9a914d3ccb5048c8acd01a (patch)
tree8f712b9f9ae8249653ad5376c9ce679413206026 /src/stores
parentchange workspace switch shortcuts to start with zero (diff)
downloadferdium-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.js4
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 }