aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-03-25 07:31:00 -0700
committerAnton Tananaev <anton@traccar.org>2023-03-25 07:31:00 -0700
commitfe1220344f008897f2f463756e555ea73ba43fcb (patch)
treed3b3e0b4c27de349d91b68462877f30f0810ef27 /modern/src/common
parente169da23db5357de3ca6d9cbb38051816a8878f6 (diff)
downloadtrackermap-web-fe1220344f008897f2f463756e555ea73ba43fcb.tar.gz
trackermap-web-fe1220344f008897f2f463756e555ea73ba43fcb.tar.bz2
trackermap-web-fe1220344f008897f2f463756e555ea73ba43fcb.zip
Add card attribute
Diffstat (limited to 'modern/src/common')
-rw-r--r--modern/src/common/attributes/usePositionAttributes.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/modern/src/common/attributes/usePositionAttributes.js b/modern/src/common/attributes/usePositionAttributes.js
index a3278b2a..9e889b09 100644
--- a/modern/src/common/attributes/usePositionAttributes.js
+++ b/modern/src/common/attributes/usePositionAttributes.js
@@ -340,6 +340,10 @@ export default (t) => useMemo(() => ({
name: t('positionDriverUniqueId'),
type: 'string',
},
+ card: {
+ name: t('positionCard'),
+ type: 'string',
+ },
color: {
name: t('attributeColor'),
type: 'string',