diff options
author | Anton Tananaev <anton@traccar.org> | 2022-07-15 18:45:44 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-07-15 18:45:44 -0700 |
commit | 85a3576f3046f5bcf3bbac6ad952ef180762fd51 (patch) | |
tree | 2bf4f2ed43848ea5f1ec49fcfeb48a277bfe0436 /modern/src/common/attributes | |
parent | 09e1e536aea906ae62f2a361df07d4b4532e62c2 (diff) | |
download | trackermap-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.js | 4 |
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', |