summaryrefslogtreecommitdiff
path: root/app/client/dashboard/dashboard.actions.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/client/dashboard/dashboard.actions.js')
-rw-r--r--app/client/dashboard/dashboard.actions.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/client/dashboard/dashboard.actions.js b/app/client/dashboard/dashboard.actions.js
index 8b5502a..c428d0b 100644
--- a/app/client/dashboard/dashboard.actions.js
+++ b/app/client/dashboard/dashboard.actions.js
@@ -11,7 +11,11 @@ export const load = () => (dispatch) => {
actions.file.index({ module: 'morph', generated: 1, limit: 15, orderBy: 'created_at desc', }),
], (percent, i, n) => {
// console.log('dashboard load progress', i, n)
- dispatch({ type: types.app.load_progress, progress: { i, n }})
+ dispatch({
+ type: types.app.load_progress,
+ progress: { i, n },
+ data: { module: 'dashboard' }
+ })
}).then(res => {
const [ tasks, folders, samplernn, pix2pixhd, morph ] = res
const { mapFn, sortFn } = util.sort.orderByFn('date desc')