aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-12-19 17:28:20 -0800
committerAnton Tananaev <anton@traccar.org>2022-12-19 17:28:20 -0800
commita5ae8c6cee71e56818bdcc67e5bf929cc07fe01d (patch)
tree3b88dae75b0d7f26fc8fff2a7fe8dfae7ce0f7ab /modern/src/common
parent877108d9012301f2b149ae862af4cffe17dfb20d (diff)
downloadtrackermap-web-a5ae8c6cee71e56818bdcc67e5bf929cc07fe01d.tar.gz
trackermap-web-a5ae8c6cee71e56818bdcc67e5bf929cc07fe01d.tar.bz2
trackermap-web-a5ae8c6cee71e56818bdcc67e5bf929cc07fe01d.zip
Configurable device direction
Diffstat (limited to 'modern/src/common')
-rw-r--r--modern/src/common/attributes/useCommonUserAttributes.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/modern/src/common/attributes/useCommonUserAttributes.js b/modern/src/common/attributes/useCommonUserAttributes.js
index 154471ce..bd88d1e8 100644
--- a/modern/src/common/attributes/useCommonUserAttributes.js
+++ b/modern/src/common/attributes/useCommonUserAttributes.js
@@ -9,6 +9,10 @@ export default (t) => useMemo(() => ({
name: t('mapLiveRoutes'),
type: 'string',
},
+ mapDirection: {
+ name: t('mapDirection'),
+ type: 'string',
+ },
mapFollow: {
name: t('deviceFollow'),
type: 'boolean',