diff options
Diffstat (limited to 'app/client/modules/biggan/biggan.reducer.js')
| -rw-r--r-- | app/client/modules/biggan/biggan.reducer.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/client/modules/biggan/biggan.reducer.js b/app/client/modules/biggan/biggan.reducer.js index a0c9842..d5b331c 100644 --- a/app/client/modules/biggan/biggan.reducer.js +++ b/app/client/modules/biggan/biggan.reducer.js @@ -8,6 +8,7 @@ const bigganInitialState = { folder_id: 0, data: null, results: null, + encodings: null, checkpoint: { name: '', sequenceCount: 0, @@ -26,6 +27,11 @@ const bigganReducer = (state = bigganInitialState, action) => { ...state, results: action.results, } + case types.biggan.load_encodings: + return { + ...state, + encodings: action.encodings, + } case types.file.destroy: console.log('file destroy', state.results) return { |
