From 1baa16f7a6ee679f556896314cb9c5f372fc9089 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 9 Jan 2020 01:46:43 +0100 Subject: encoding list --- app/client/modules/biggan/biggan.reducer.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'app/client/modules/biggan/biggan.reducer.js') 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 { -- cgit v1.2.3-70-g09d2