From 3fbc033e37476ff03fc4ad93145976faeea47934 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 3 Jun 2018 16:34:09 +0200 Subject: reload the whole page. easier --- app/client/modules/samplernn/samplernn.actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/client/modules/samplernn/samplernn.actions.js') diff --git a/app/client/modules/samplernn/samplernn.actions.js b/app/client/modules/samplernn/samplernn.actions.js index 25c9699..70a8a30 100644 --- a/app/client/modules/samplernn/samplernn.actions.js +++ b/app/client/modules/samplernn/samplernn.actions.js @@ -44,7 +44,6 @@ export const load_directories = (id) => (dispatch) => { folder.datasets.push(dataset) return dataset } - // take all of the folders and put them in a lookup const folderLookup = folders.reduce((folderLookup, folder) => { folderLookup[folder.id] = { id: folder.id, name: folder.name, folder, datasets: [] } @@ -133,6 +132,7 @@ export const load_directories = (id) => (dispatch) => { }) if (id) { let folder = id === 'unsorted' ? folderLookup.unsorted : folderLookup[id] + console.log(id) dispatch({ type: types.samplernn.set_folder, folder: folder, -- cgit v1.2.3-70-g09d2