diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-20 13:17:29 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-20 13:17:29 +0200 |
| commit | 79a13c20e1f2ce3f1838f500802d5355dce90446 (patch) | |
| tree | 310b541b77b2d24ab4a459df781612af88953938 /app/client/modules/pix2pixhd/pix2pixhd.reducer.js | |
| parent | f37392fe477d4656e12c4d5d18b4344d2c5ae8d6 (diff) | |
crazy..
Diffstat (limited to 'app/client/modules/pix2pixhd/pix2pixhd.reducer.js')
| -rw-r--r-- | app/client/modules/pix2pixhd/pix2pixhd.reducer.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/client/modules/pix2pixhd/pix2pixhd.reducer.js b/app/client/modules/pix2pixhd/pix2pixhd.reducer.js index a21f4d5..b6264ed 100644 --- a/app/client/modules/pix2pixhd/pix2pixhd.reducer.js +++ b/app/client/modules/pix2pixhd/pix2pixhd.reducer.js @@ -7,6 +7,7 @@ const pix2pixhdInitialState = { error: null, folder_id: 0, data: null, + results: null, } const pix2pixhdReducer = (state = pix2pixhdInitialState, action) => { @@ -15,6 +16,11 @@ const pix2pixhdReducer = (state = pix2pixhdInitialState, action) => { } switch (action.type) { + case types.pix2pixhd.load_results: + return { + ...state, + results: action.results, + } default: return state } |
