summaryrefslogtreecommitdiff
path: root/app/client/modules/biggan/biggan.reducer.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-01-09 01:46:43 +0100
committerJules Laplace <julescarbon@gmail.com>2020-01-09 01:46:43 +0100
commit1baa16f7a6ee679f556896314cb9c5f372fc9089 (patch)
tree87d1ebdfd1c985d32b10b326fed575d5822916b5 /app/client/modules/biggan/biggan.reducer.js
parentcc91752ea2a078d905a1a75639462ef72cf504e8 (diff)
encoding list
Diffstat (limited to 'app/client/modules/biggan/biggan.reducer.js')
-rw-r--r--app/client/modules/biggan/biggan.reducer.js6
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 {