aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/workspaces/store.js
diff options
context:
space:
mode:
authorLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-03-26 13:47:54 +0100
committerLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-03-26 13:47:54 +0100
commitd05a8efffadd926165d516d6efd8c8b893648ebe (patch)
treec96d3ad7e111c50ffd9054f8728ce204460e2948 /src/features/workspaces/store.js
parentreset api requests when workspace feature is stopped (diff)
downloadferdium-app-d05a8efffadd926165d516d6efd8c8b893648ebe.tar.gz
ferdium-app-d05a8efffadd926165d516d6efd8c8b893648ebe.tar.zst
ferdium-app-d05a8efffadd926165d516d6efd8c8b893648ebe.zip
hide workspace feature if it is disabled
Diffstat (limited to 'src/features/workspaces/store.js')
-rw-r--r--src/features/workspaces/store.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/features/workspaces/store.js b/src/features/workspaces/store.js
index dbb1d7b05..86a8a2c76 100644
--- a/src/features/workspaces/store.js
+++ b/src/features/workspaces/store.js
@@ -63,6 +63,11 @@ export default class WorkspacesStore {
63 debug('WorkspacesStore::stop'); 63 debug('WorkspacesStore::stop');
64 this._reactions.forEach(r => r.stop()); 64 this._reactions.forEach(r => r.stop());
65 this.isFeatureActive = false; 65 this.isFeatureActive = false;
66 this.activeWorkspace = null;
67 this.nextWorkspace = null;
68 this.workspaceBeingEdited = null;
69 this.isSwitchingWorkspace = false;
70 this.isWorkspaceDrawerOpen = false;
66 } 71 }
67 72
68 filterServicesByActiveWorkspace = (services) => { 73 filterServicesByActiveWorkspace = (services) => {