summaryrefslogtreecommitdiff
path: root/app/client/modules/samplernn/samplernn.actions.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-04 20:12:25 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-04 20:12:25 +0200
commit9fa57ffa48ac558b482010c1e96bdb6e5967c1e5 (patch)
treeb464cd78ad37ce047cc818e864e4cfd1a619622b /app/client/modules/samplernn/samplernn.actions.js
parentd3705a588e3a790868082dbf9590163b8016a94c (diff)
ref folder in main dir
Diffstat (limited to 'app/client/modules/samplernn/samplernn.actions.js')
-rw-r--r--app/client/modules/samplernn/samplernn.actions.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/client/modules/samplernn/samplernn.actions.js b/app/client/modules/samplernn/samplernn.actions.js
index 68b13a2..c87718d 100644
--- a/app/client/modules/samplernn/samplernn.actions.js
+++ b/app/client/modules/samplernn/samplernn.actions.js
@@ -172,11 +172,10 @@ export const load_directories = (id) => (dispatch) => {
},
})
if (id) {
- let folder = id === 'unsorted' ? folderLookup.unsorted : folderLookup[id]
- console.log(id)
+ console.log('folder id', id)
dispatch({
type: types.samplernn.set_folder,
- folder: folder,
+ folder_id: id,
})
}
}).catch(e => {