diff options
Diffstat (limited to 'src/features/workspaces/index.js')
-rw-r--r-- | src/features/workspaces/index.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/features/workspaces/index.js b/src/features/workspaces/index.js index 68f82bdee..0d30cd19d 100644 --- a/src/features/workspaces/index.js +++ b/src/features/workspaces/index.js | |||
@@ -1,5 +1,6 @@ | |||
1 | import { reaction } from 'mobx'; | 1 | import { reaction } from 'mobx'; |
2 | import WorkspacesStore from './store'; | 2 | import WorkspacesStore from './store'; |
3 | import { resetApiRequests } from './api'; | ||
3 | 4 | ||
4 | const debug = require('debug')('Franz:feature:workspaces'); | 5 | const debug = require('debug')('Franz:feature:workspaces'); |
5 | 6 | ||
@@ -22,6 +23,7 @@ export default function initWorkspaces(stores, actions) { | |||
22 | } else if (workspaceStore.isFeatureActive) { | 23 | } else if (workspaceStore.isFeatureActive) { |
23 | debug('Disabling `workspaces` feature'); | 24 | debug('Disabling `workspaces` feature'); |
24 | workspaceStore.stop(); | 25 | workspaceStore.stop(); |
26 | resetApiRequests(); | ||
25 | } | 27 | } |
26 | }, | 28 | }, |
27 | { | 29 | { |