diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-03 16:34:09 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-03 16:34:09 +0200 |
| commit | 3fbc033e37476ff03fc4ad93145976faeea47934 (patch) | |
| tree | d6472eadb3abad48711730ce8b5cc816c61c6769 /app/client/modules/samplernn/samplernn.actions.js | |
| parent | 70551b5c0d32effb316a75d6bbe3c6807f8b4d05 (diff) | |
reload the whole page. easier
Diffstat (limited to 'app/client/modules/samplernn/samplernn.actions.js')
| -rw-r--r-- | app/client/modules/samplernn/samplernn.actions.js | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
