aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/workspaces/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/workspaces/index.js')
-rw-r--r--src/features/workspaces/index.js2
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 @@
1import { reaction } from 'mobx'; 1import { reaction } from 'mobx';
2import WorkspacesStore from './store'; 2import WorkspacesStore from './store';
3import { resetApiRequests } from './api';
3 4
4const debug = require('debug')('Franz:feature:workspaces'); 5const 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 {