From e06c03ae5b4bac3a1fea26f1cdf67e510a2f873b Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 25 Mar 2023 07:35:36 -0700 Subject: Add driving time --- modern/src/common/attributes/usePositionAttributes.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modern/src/common/attributes') 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', -- cgit v1.2.3