diff options
author | Anton Tananaev <anton@traccar.org> | 2024-01-28 08:15:46 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2024-01-28 08:15:46 -0800 |
commit | 5687ccbdf8955b913d02c83e76aae0f1384dfbba (patch) | |
tree | 6a756b6403287c7e011d0e11867cc4922cfbc80d /modern/src/settings/MaintenancePage.jsx | |
parent | 40c9ad6690837ebd88437ebc342bca0298e8473a (diff) | |
download | trackermap-web-5687ccbdf8955b913d02c83e76aae0f1384dfbba.tar.gz trackermap-web-5687ccbdf8955b913d02c83e76aae0f1384dfbba.tar.bz2 trackermap-web-5687ccbdf8955b913d02c83e76aae0f1384dfbba.zip |
Support time maintenance
Diffstat (limited to 'modern/src/settings/MaintenancePage.jsx')
-rw-r--r-- | modern/src/settings/MaintenancePage.jsx | 2 |
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 }); } }); |