aboutsummaryrefslogtreecommitdiff
path: root/modern/src/store
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-02-15 07:54:35 -0800
committerAnton Tananaev <anton@traccar.org>2023-02-15 07:54:35 -0800
commit4029ec907beb45cefe7d194aac6c983c9dea7d50 (patch)
treee6cb2c7964d6a7d22a30a2eb7db5b2a520268438 /modern/src/store
parenta0d1387ce7055757abd731581cc0cce632608849 (diff)
downloadtrackermap-web-4029ec907beb45cefe7d194aac6c983c9dea7d50.tar.gz
trackermap-web-4029ec907beb45cefe7d194aac6c983c9dea7d50.tar.bz2
trackermap-web-4029ec907beb45cefe7d194aac6c983c9dea7d50.zip
Fix reports button
Diffstat (limited to 'modern/src/store')
-rw-r--r--modern/src/store/reports.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/modern/src/store/reports.js b/modern/src/store/reports.js
index 870a0420..9834c8b8 100644
--- a/modern/src/store/reports.js
+++ b/modern/src/store/reports.js
@@ -8,7 +8,6 @@ const { reducer, actions } = createSlice({
period: 'today',
from: moment().subtract(1, 'hour').locale('en').format(moment.HTML5_FMT.DATETIME_LOCAL),
to: moment().locale('en').format(moment.HTML5_FMT.DATETIME_LOCAL),
- button: 'json',
},
reducers: {
updateGroupIds(state, action) {
@@ -23,9 +22,6 @@ const { reducer, actions } = createSlice({
updateTo(state, action) {
state.to = action.payload;
},
- updateButton(state, action) {
- state.button = action.payload;
- },
},
});