summaryrefslogtreecommitdiff
path: root/app/client/modules/morph/morph.actions.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/client/modules/morph/morph.actions.js')
-rw-r--r--app/client/modules/morph/morph.actions.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/client/modules/morph/morph.actions.js b/app/client/modules/morph/morph.actions.js
index 04f452d..6586778 100644
--- a/app/client/modules/morph/morph.actions.js
+++ b/app/client/modules/morph/morph.actions.js
@@ -19,7 +19,11 @@ export const load_data = (id) => (dispatch) => {
actions.socket.list_directory({ module, dir: 'renders' }),
], (percent, i, n) => {
console.log('morph load progress', i, n)
- dispatch({ type: types.app.load_progress, progress: { i, n }})
+ dispatch({
+ type: types.app.load_progress,
+ progress: { i, n },
+ data: { module: 'morph' },
+ })
}).then(res => {
const [datasetApiReport, sequences, renders] = res
const {