diff options
author | Anton Tananaev <anton@traccar.org> | 2022-07-21 15:42:59 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-07-21 18:31:07 -0700 |
commit | 98cb21230d938ac04f53a4425e5d3eae9cfdbfda (patch) | |
tree | 9d7c99911ba3fefa969c05fbb1731dafff053315 /modern | |
parent | 1225454024a42697dbb1721685f3066a05f5eac8 (diff) | |
download | trackermap-web-98cb21230d938ac04f53a4425e5d3eae9cfdbfda.tar.gz trackermap-web-98cb21230d938ac04f53a4425e5d3eae9cfdbfda.tar.bz2 trackermap-web-98cb21230d938ac04f53a4425e5d3eae9cfdbfda.zip |
Correct hours value
Diffstat (limited to 'modern')
-rw-r--r-- | modern/src/settings/AccumulatorsPage.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/settings/AccumulatorsPage.js b/modern/src/settings/AccumulatorsPage.js index 500c4e4a..363bc376 100644 --- a/modern/src/settings/AccumulatorsPage.js +++ b/modern/src/settings/AccumulatorsPage.js @@ -89,8 +89,8 @@ const AccumulatorsPage = () => { <AccordionDetails className={classes.details}> <TextField type="number" - value={item.hours / 1000} - onChange={(event) => setItem({ ...item, hours: Number(event.target.value) * 1000 })} + value={item.hours / 3600000} + onChange={(event) => setItem({ ...item, hours: Number(event.target.value) * 3600000 })} label={t('positionHours')} /> <TextField |