diff options
| author | Georgios Andreadis <info@gandreadis.com> | 2020-07-02 18:39:28 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-08-24 19:47:21 +0200 |
| commit | f119fc78dda4d1e828dde04f378a63a93e3a0a7e (patch) | |
| tree | bea1eace5d47f21a7ccb835c6a6079bc92e48710 /frontend/src/reducers/states.js | |
| parent | 7f27a6370a0af25e1bf6ff8f46360c6c26c21e0b (diff) | |
Add current progress on frontend port
Diffstat (limited to 'frontend/src/reducers/states.js')
| -rw-r--r-- | frontend/src/reducers/states.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/frontend/src/reducers/states.js b/frontend/src/reducers/states.js index e4c2fd19..c9bb4158 100644 --- a/frontend/src/reducers/states.js +++ b/frontend/src/reducers/states.js @@ -2,7 +2,6 @@ import { combineReducers } from 'redux' import { ADD_BATCH_TO_STATES } from '../actions/states' export const states = combineReducers({ - task: objectStates('task'), room: objectStates('room'), rack: objectStates('rack'), machine: objectStates('machine'), @@ -21,7 +20,7 @@ function objectStates(type) { {}, state[action.objects[i].tick], batch[action.objects[i].tick], - { [action.objects[i][action.objectType + 'Id']]: action.objects[i] }, + { [action.objects[i][action.objectType + 'Id']]: action.objects[i] } ) } |
