diff options
author | Anton Tananaev <anton@traccar.org> | 2022-07-03 13:11:46 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-07-03 13:11:46 -0700 |
commit | 078c6acbd1af5936fab29431dc27e03aaed34a7b (patch) | |
tree | 12d6fe2393132f498547c08753f53f3f2d0c121a /modern/src/common/attributes/useCommonUserAttributes.js | |
parent | 5aed7b5c541f8eb4de1ec47fa07be3f777eaf32c (diff) | |
download | trackermap-web-078c6acbd1af5936fab29431dc27e03aaed34a7b.tar.gz trackermap-web-078c6acbd1af5936fab29431dc27e03aaed34a7b.tar.bz2 trackermap-web-078c6acbd1af5936fab29431dc27e03aaed34a7b.zip |
Option to hide groups (fix #693)
Diffstat (limited to 'modern/src/common/attributes/useCommonUserAttributes.js')
-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 ddd5d970..81ceaca7 100644 --- a/modern/src/common/attributes/useCommonUserAttributes.js +++ b/modern/src/common/attributes/useCommonUserAttributes.js @@ -33,6 +33,10 @@ export default (t) => useMemo(() => ({ name: t('attributeNotificationTokens'), type: 'string', }, + 'ui.disableGroups': { + name: t('attributeUiDisableGroups'), + type: 'boolean', + }, 'ui.disableEvents': { name: t('attributeUiDisableEvents'), type: 'boolean', |