diff options
Diffstat (limited to 'src/features/workspaces/store.js')
-rw-r--r-- | src/features/workspaces/store.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/features/workspaces/store.js b/src/features/workspaces/store.js index 86a8a2c76..3cec5f360 100644 --- a/src/features/workspaces/store.js +++ b/src/features/workspaces/store.js | |||
@@ -30,7 +30,7 @@ export default class WorkspacesStore { | |||
30 | 30 | ||
31 | @computed get workspaces() { | 31 | @computed get workspaces() { |
32 | if (!this.isFeatureActive) return []; | 32 | if (!this.isFeatureActive) return []; |
33 | return getUserWorkspacesRequest.execute().result || []; | 33 | return getUserWorkspacesRequest.result || []; |
34 | } | 34 | } |
35 | 35 | ||
36 | constructor() { | 36 | constructor() { |
@@ -57,6 +57,7 @@ export default class WorkspacesStore { | |||
57 | this.actions = actions; | 57 | this.actions = actions; |
58 | this._reactions.forEach(r => r.start()); | 58 | this._reactions.forEach(r => r.start()); |
59 | this.isFeatureActive = true; | 59 | this.isFeatureActive = true; |
60 | getUserWorkspacesRequest.execute(); | ||
60 | } | 61 | } |
61 | 62 | ||
62 | stop() { | 63 | stop() { |