summaryrefslogtreecommitdiff
path: root/app/client/modules/samplernn/samplernn.reducer.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-04 19:06:48 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-04 19:06:48 +0200
commitdfbca424f0655779bcbcf56a88a1338e3af23739 (patch)
tree2f50befa6de5052d6c0bada8c8c064e03431766c /app/client/modules/samplernn/samplernn.reducer.js
parent91c47c22f2c71c524fd665f19186bb014c94ab31 (diff)
action divs
Diffstat (limited to 'app/client/modules/samplernn/samplernn.reducer.js')
-rw-r--r--app/client/modules/samplernn/samplernn.reducer.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/client/modules/samplernn/samplernn.reducer.js b/app/client/modules/samplernn/samplernn.reducer.js
index 11a9d9e..929205e 100644
--- a/app/client/modules/samplernn/samplernn.reducer.js
+++ b/app/client/modules/samplernn/samplernn.reducer.js
@@ -61,6 +61,10 @@ const samplernnReducer = (state = samplernnInitialState, action) => {
loading: false,
folder: {
...state.folder,
+ files: [
+ ...state.folder.files,
+ action.data,
+ ],
datasets: [
...state.folder.datasets,
{