diff options
| author | Dayana31 <[email protected]> | 2022-06-06 18:22:06 -0500 |
|---|---|---|
| committer | Dayana31 <[email protected]> | 2022-06-06 18:22:06 -0500 |
| commit | c10432bd66dfbf040662e9c8203956ac3614f4ca (patch) | |
| tree | 88c739cdb9650408458ee300ca03a7fc7746cb9b /front/odiparpack/app/redux/modules/camion.js | |
| parent | f3c1a8c5dcc3c482205f34332a9d673b35b4cfb0 (diff) | |
| parent | fab7d63333b86b9fe0f1c52d2c642b52bbf506c0 (diff) | |
| download | DP1_project-c10432bd66dfbf040662e9c8203956ac3614f4ca.tar.gz DP1_project-c10432bd66dfbf040662e9c8203956ac3614f4ca.tar.bz2 DP1_project-c10432bd66dfbf040662e9c8203956ac3614f4ca.zip | |
Merge branch 'gabshr' into dayana
Diffstat (limited to 'front/odiparpack/app/redux/modules/camion.js')
| -rw-r--r-- | front/odiparpack/app/redux/modules/camion.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/front/odiparpack/app/redux/modules/camion.js b/front/odiparpack/app/redux/modules/camion.js index 5cfe7d8..03394d7 100644 --- a/front/odiparpack/app/redux/modules/camion.js +++ b/front/odiparpack/app/redux/modules/camion.js @@ -1,4 +1,4 @@ -import { LISTA_CAMION } from 'ba-actions/actionTypes'; +import { LISTA_CAMION, NUEVO_CAMION } from 'ba-actions/actionTypes'; const initState = { camiones : [] @@ -8,6 +8,8 @@ const camion = (state = initState, action) => { switch (action.type) { case LISTA_CAMION: return { ...state, camiones: action.payload } + case NUEVO_CAMION: + return { ...state } default : return state } |
