From 932fe9ccb9bfad7f454c5f53d35ec06c27328281 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 30 Jun 2018 19:12:58 +0200 Subject: fixing up dashboard --- app/client/dashboard/dashboard.actions.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'app/client/dashboard/dashboard.actions.js') diff --git a/app/client/dashboard/dashboard.actions.js b/app/client/dashboard/dashboard.actions.js index 2757830..8b5502a 100644 --- a/app/client/dashboard/dashboard.actions.js +++ b/app/client/dashboard/dashboard.actions.js @@ -10,7 +10,7 @@ export const load = () => (dispatch) => { actions.file.index({ module: 'pix2pixhd', generated: 1, limit: 15, orderBy: 'created_at desc', }), actions.file.index({ module: 'morph', generated: 1, limit: 15, orderBy: 'created_at desc', }), ], (percent, i, n) => { - console.log('dashboard load progress', i, n) + // console.log('dashboard load progress', i, n) dispatch({ type: types.app.load_progress, progress: { i, n }}) }).then(res => { const [ tasks, folders, samplernn, pix2pixhd, morph ] = res @@ -26,14 +26,13 @@ export const load = () => (dispatch) => { data: { tasks, folders, + foldersByModule, renders: { samplernn, pix2pixhd, morph, }, - foldersByModule, }, }) - }) } -- cgit v1.2.3-70-g09d2