diff options
author | Dominik Guzei <dominik.guzei@gmail.com> | 2019-03-26 13:47:54 +0100 |
---|---|---|
committer | Dominik Guzei <dominik.guzei@gmail.com> | 2019-03-26 13:47:54 +0100 |
commit | d05a8efffadd926165d516d6efd8c8b893648ebe (patch) | |
tree | c96d3ad7e111c50ffd9054f8728ce204460e2948 /src/features | |
parent | reset api requests when workspace feature is stopped (diff) | |
download | ferdium-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')
-rw-r--r-- | src/features/workspaces/store.js | 5 |
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) => { |