diff options
Diffstat (limited to 'src/features/workspaces')
-rw-r--r-- | src/features/workspaces/index.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/features/workspaces/index.js b/src/features/workspaces/index.js index 3db6de5b2..83e4d9049 100644 --- a/src/features/workspaces/index.js +++ b/src/features/workspaces/index.js | |||
@@ -12,7 +12,9 @@ export default function initWorkspaces(stores, actions) { | |||
12 | 12 | ||
13 | // Toggle workspace feature | 13 | // Toggle workspace feature |
14 | reaction( | 14 | reaction( |
15 | () => features.features.isWorkspaceEnabled, | 15 | () => ( |
16 | features.features.isWorkspaceEnabled | ||
17 | ), | ||
16 | (isEnabled) => { | 18 | (isEnabled) => { |
17 | if (isEnabled && !workspaceStore.isFeatureActive) { | 19 | if (isEnabled && !workspaceStore.isFeatureActive) { |
18 | debug('Initializing `workspaces` feature'); | 20 | debug('Initializing `workspaces` feature'); |
@@ -23,8 +25,6 @@ export default function initWorkspaces(stores, actions) { | |||
23 | resetApiRequests(); | 25 | resetApiRequests(); |
24 | } | 26 | } |
25 | }, | 27 | }, |
26 | { | 28 | { fireImmediately: true }, |
27 | fireImmediately: true, | ||
28 | }, | ||
29 | ); | 29 | ); |
30 | } | 30 | } |