aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/UserStore.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/stores/UserStore.js')
-rw-r--r--src/stores/UserStore.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/stores/UserStore.js b/src/stores/UserStore.js
index 9d8ac5657..d1e6d6570 100644
--- a/src/stores/UserStore.js
+++ b/src/stores/UserStore.js
@@ -122,13 +122,13 @@ export default class UserStore extends Store {
122 } 122 }
123 123
124 @computed get data() { 124 @computed get data() {
125 this.getUserInfoRequest.execute(); 125 if (!this.isLoggedIn) return {};
126 return this.getUserInfoRequest.result || {}; 126
127 return this.getUserInfoRequest.execute().result || {};
127 } 128 }
128 129
129 @computed get legacyServices() { 130 @computed get legacyServices() {
130 this.getLegacyServicesRequest.execute(); 131 return this.getLegacyServicesRequest.execute() || {};
131 return this.getLegacyServicesRequest.result || [];
132 } 132 }
133 133
134 // Actions 134 // Actions