diff options
author | Anton Tananaev <anton@traccar.org> | 2023-03-25 07:35:36 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-03-25 07:35:36 -0700 |
commit | e06c03ae5b4bac3a1fea26f1cdf67e510a2f873b (patch) | |
tree | 88e66b7c573d61f4d539b2c26410c622e1aa5c71 /modern/src/common | |
parent | fe1220344f008897f2f463756e555ea73ba43fcb (diff) | |
download | trackermap-web-e06c03ae5b4bac3a1fea26f1cdf67e510a2f873b.tar.gz trackermap-web-e06c03ae5b4bac3a1fea26f1cdf67e510a2f873b.tar.bz2 trackermap-web-e06c03ae5b4bac3a1fea26f1cdf67e510a2f873b.zip |
Add driving time
Diffstat (limited to 'modern/src/common')
-rw-r--r-- | modern/src/common/attributes/usePositionAttributes.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modern/src/common/attributes/usePositionAttributes.js b/modern/src/common/attributes/usePositionAttributes.js index 9e889b09..81497938 100644 --- a/modern/src/common/attributes/usePositionAttributes.js +++ b/modern/src/common/attributes/usePositionAttributes.js @@ -344,6 +344,11 @@ export default (t) => useMemo(() => ({ name: t('positionCard'), type: 'string', }, + drivingTime: { + name: t('positionDrivingTime'), + type: 'number', + dataType: 'hours', + }, color: { name: t('attributeColor'), type: 'string', |