aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-01-28 08:15:46 -0800
committerAnton Tananaev <anton@traccar.org>2024-01-28 08:15:46 -0800
commit5687ccbdf8955b913d02c83e76aae0f1384dfbba (patch)
tree6a756b6403287c7e011d0e11867cc4922cfbc80d /modern/src/settings
parent40c9ad6690837ebd88437ebc342bca0298e8473a (diff)
downloadtrackermap-web-5687ccbdf8955b913d02c83e76aae0f1384dfbba.tar.gz
trackermap-web-5687ccbdf8955b913d02c83e76aae0f1384dfbba.tar.bz2
trackermap-web-5687ccbdf8955b913d02c83e76aae0f1384dfbba.zip
Support time maintenance
Diffstat (limited to 'modern/src/settings')
-rw-r--r--modern/src/settings/MaintenancePage.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/settings/MaintenancePage.jsx b/modern/src/settings/MaintenancePage.jsx
index 987789d5..eb4946a7 100644
--- a/modern/src/settings/MaintenancePage.jsx
+++ b/modern/src/settings/MaintenancePage.jsx
@@ -48,7 +48,7 @@ const MaintenancePage = () => {
const otherList = [];
Object.keys(attributes).forEach((key) => {
const value = attributes[key];
- if (value.type === 'number') {
+ if (value.type === 'number' || key.endsWith('Time')) {
otherList.push({ key, name: value.name, type: value.type });
}
});