aboutsummaryrefslogtreecommitdiff
path: root/modern/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-02-21 09:52:22 -0800
committerAnton Tananaev <anton@traccar.org>2023-02-21 09:52:22 -0800
commitd13a450a25c92ca27119814658afbb2417a74582 (patch)
treefbab9b70551150f9ef1eb9a82242ea5db28e0bf6 /modern/src
parentef5058c6960157652ea660423625fd6841fb5a3a (diff)
downloadtrackermap-web-d13a450a25c92ca27119814658afbb2417a74582.tar.gz
trackermap-web-d13a450a25c92ca27119814658afbb2417a74582.tar.bz2
trackermap-web-d13a450a25c92ca27119814658afbb2417a74582.zip
Add lock attribute
Diffstat (limited to 'modern/src')
-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 1919b862..a3278b2a 100644
--- a/modern/src/common/attributes/usePositionAttributes.js
+++ b/modern/src/common/attributes/usePositionAttributes.js
@@ -314,6 +314,10 @@ export default (t) => useMemo(() => ({
name: t('positionBlocked'),
type: 'boolean',
},
+ lock: {
+ name: t('alarmLock'),
+ type: 'boolean',
+ },
dtcs: {
name: t('positionDtcs'),
type: 'string',