aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/attributes/useCommonUserAttributes.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-10-28 06:48:33 -0700
committerAnton Tananaev <anton@traccar.org>2022-10-28 06:48:33 -0700
commitef315b8e10329db80da1a97e96b3cc82481370ae (patch)
tree3a3e6366a98daf2e7c499422bdbcf94965917b28 /modern/src/common/attributes/useCommonUserAttributes.js
parentc000fa00d3a4b71a814864b9c805885f85bdd8dc (diff)
downloadtrackermap-web-ef315b8e10329db80da1a97e96b3cc82481370ae.tar.gz
trackermap-web-ef315b8e10329db80da1a97e96b3cc82481370ae.tar.bz2
trackermap-web-ef315b8e10329db80da1a97e96b3cc82481370ae.zip
Persist map geofences
Diffstat (limited to 'modern/src/common/attributes/useCommonUserAttributes.js')
-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 e64299bd..7fe2fcdf 100644
--- a/modern/src/common/attributes/useCommonUserAttributes.js
+++ b/modern/src/common/attributes/useCommonUserAttributes.js
@@ -1,6 +1,10 @@
import { useMemo } from 'react';
export default (t) => useMemo(() => ({
+ mapGeofences: {
+ name: t('attributeShowGeofences'),
+ type: 'boolean',
+ },
locationIqKey: {
name: t('mapLocationIqKey'),
type: 'string',