summaryrefslogtreecommitdiff
path: root/app/client/modules/morph/morph.actions.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-09-04 13:53:30 +0200
committerJules Laplace <julescarbon@gmail.com>2018-09-04 13:53:30 +0200
commit25815ab4916dc8c9e3256cbfe53bea0535930f30 (patch)
tree4d87860e82ede57780497c6016e54bf1af68ca91 /app/client/modules/morph/morph.actions.js
parent56619248e5032b644ec7a8e215bd59aecad86c73 (diff)
fix loading bars
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 {