aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/attributes/usePositionAttributes.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-15 15:56:55 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-15 15:56:55 -0700
commit6a5ee785ed83c34b3f6ec4cd4ba20f1192553922 (patch)
tree0fc300045ab82671ac4f138619e7946b6704a6bb /modern/src/common/attributes/usePositionAttributes.js
parent2a7d1a41dc897018a2bf17d3ca9f85cfb66bbb5f (diff)
downloadtrackermap-web-6a5ee785ed83c34b3f6ec4cd4ba20f1192553922.tar.gz
trackermap-web-6a5ee785ed83c34b3f6ec4cd4ba20f1192553922.tar.bz2
trackermap-web-6a5ee785ed83c34b3f6ec4cd4ba20f1192553922.zip
More chart attributes
Diffstat (limited to 'modern/src/common/attributes/usePositionAttributes.js')
-rw-r--r--modern/src/common/attributes/usePositionAttributes.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/common/attributes/usePositionAttributes.js b/modern/src/common/attributes/usePositionAttributes.js
index b6036945..2d3c1bfe 100644
--- a/modern/src/common/attributes/usePositionAttributes.js
+++ b/modern/src/common/attributes/usePositionAttributes.js
@@ -205,7 +205,7 @@ export default (t) => useMemo(() => ({
},
armed: {
name: t('positionArmed'),
- type: 'number',
+ type: 'boolean',
},
geofence: {
name: t('sharedGeofence'),
@@ -245,7 +245,7 @@ export default (t) => useMemo(() => ({
},
blocked: {
name: t('positionBlocked'),
- type: 'number',
+ type: 'boolean',
},
dtcs: {
name: t('positionDtcs'),