From 25815ab4916dc8c9e3256cbfe53bea0535930f30 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 4 Sep 2018 13:53:30 +0200 Subject: fix loading bars --- app/client/modules/morph/morph.actions.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'app/client/modules/morph/morph.actions.js') 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 { -- cgit v1.2.3-70-g09d2