diff options
author | Anton Tananaev <anton@traccar.org> | 2022-07-05 17:48:00 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-07-05 17:48:00 -0700 |
commit | 89928e3a9a9356b96c2d02c9682161295ad73641 (patch) | |
tree | b3d250a62a39fe196409fabbcda1058cb15fc375 /modern/src/common/attributes/usePositionAttributes.js | |
parent | 834d57c9eb14fff48f4444af198f0a10ab1b72a2 (diff) | |
download | trackermap-web-89928e3a9a9356b96c2d02c9682161295ad73641.tar.gz trackermap-web-89928e3a9a9356b96c2d02c9682161295ad73641.tar.bz2 trackermap-web-89928e3a9a9356b96c2d02c9682161295ad73641.zip |
Support position color (fix #805)
Diffstat (limited to 'modern/src/common/attributes/usePositionAttributes.js')
-rw-r--r-- | modern/src/common/attributes/usePositionAttributes.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modern/src/common/attributes/usePositionAttributes.js b/modern/src/common/attributes/usePositionAttributes.js index b9eb354c..1eb9d067 100644 --- a/modern/src/common/attributes/usePositionAttributes.js +++ b/modern/src/common/attributes/usePositionAttributes.js @@ -336,4 +336,8 @@ export default (t) => useMemo(() => ({ name: t('positionDriverUniqueId'), type: 'string', }, + color: { + name: t('attributeColor'), + type: 'string', + }, }), [t]); |