diff options
author | Vijay A <avijayr@protonmail.com> | 2021-08-21 20:12:28 +0530 |
---|---|---|
committer | Vijay A <avijayr@protonmail.com> | 2021-08-21 21:55:28 +0530 |
commit | 4f584111d57e4d91ce189cf2f0b5c2e3e2b8dc4d (patch) | |
tree | 9f8b016d71136e87bcf532f60ce4acfa03f6cedd /src/features/workspaces | |
parent | Incorrect position while adding a new service when there were pre-existing se... (diff) | |
download | ferdium-app-4f584111d57e4d91ce189cf2f0b5c2e3e2b8dc4d.tar.gz ferdium-app-4f584111d57e4d91ce189cf2f0b5c2e3e2b8dc4d.tar.zst ferdium-app-4f584111d57e4d91ce189cf2f0b5c2e3e2b8dc4d.zip |
style: consistent syntax style [skip ci]
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 | } |