diff options
Diffstat (limited to 'modern/src/store/reports.js')
-rw-r--r-- | modern/src/store/reports.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/modern/src/store/reports.js b/modern/src/store/reports.js index 540c4d4e..870a0420 100644 --- a/modern/src/store/reports.js +++ b/modern/src/store/reports.js @@ -4,8 +4,6 @@ import moment from 'moment'; const { reducer, actions } = createSlice({ name: 'reports', initialState: { - deviceId: null, - deviceIds: [], groupIds: [], period: 'today', from: moment().subtract(1, 'hour').locale('en').format(moment.HTML5_FMT.DATETIME_LOCAL), @@ -13,12 +11,6 @@ const { reducer, actions } = createSlice({ button: 'json', }, reducers: { - updateDeviceId(state, action) { - state.deviceId = action.payload; - }, - updateDeviceIds(state, action) { - state.deviceIds = action.payload; - }, updateGroupIds(state, action) { state.groupIds = action.payload; }, |