aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/attributes
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-07-15 18:45:44 -0700
committerAnton Tananaev <anton@traccar.org>2022-07-15 18:45:44 -0700
commit85a3576f3046f5bcf3bbac6ad952ef180762fd51 (patch)
tree2bf4f2ed43848ea5f1ec49fcfeb48a277bfe0436 /modern/src/common/attributes
parent09e1e536aea906ae62f2a361df07d4b4532e62c2 (diff)
downloadtrackermap-web-85a3576f3046f5bcf3bbac6ad952ef180762fd51.tar.gz
trackermap-web-85a3576f3046f5bcf3bbac6ad952ef180762fd51.tar.bz2
trackermap-web-85a3576f3046f5bcf3bbac6ad952ef180762fd51.zip
Option to hide attributes
Diffstat (limited to 'modern/src/common/attributes')
-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 81ceaca7..791f46d4 100644
--- a/modern/src/common/attributes/useCommonUserAttributes.js
+++ b/modern/src/common/attributes/useCommonUserAttributes.js
@@ -37,6 +37,10 @@ export default (t) => useMemo(() => ({
name: t('attributeUiDisableGroups'),
type: 'boolean',
},
+ 'ui.disableAttributes': {
+ name: t('attributeUiDisableAttributes'),
+ type: 'boolean',
+ },
'ui.disableEvents': {
name: t('attributeUiDisableEvents'),
type: 'boolean',