We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e71f45 commit 84ad6a0Copy full SHA for 84ad6a0
src/app/store/entities/sandboxes/actions/files.js
@@ -18,6 +18,8 @@ import notificationActions from '../../../notifications/actions';
18
19
import { maybeForkSandbox } from './fork';
20
21
+import sandboxActions from './index';
22
+
23
export const CREATE_MODULE_API_ACTIONS = createAPIActions(
24
'SANDBOX',
25
'CREATE_MODULE'
@@ -341,6 +343,7 @@ const createModule = (
341
343
342
344
dispatch(normalizeResult(moduleEntity, data));
345
dispatch(addModuleToSandbox(sandboxId, data.id));
346
+ dispatch(sandboxActions.setCurrentModule(sandboxId, data.id));
347
};
348
349
const createDirectory = (
0 commit comments