diff options
author | Anton Tananaev <anton@traccar.org> | 2023-06-08 08:12:30 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-06-08 08:12:30 -0700 |
commit | a9aeaac17718096ba11208e6c7ce4902ab355050 (patch) | |
tree | 225c0483d38e19972ac175f2c869280a318813c5 /modern/src/common | |
parent | f8048106dacb36466ae221a8258da85f35db6e9d (diff) | |
download | trackermap-web-a9aeaac17718096ba11208e6c7ce4902ab355050.tar.gz trackermap-web-a9aeaac17718096ba11208e6c7ce4902ab355050.tar.bz2 trackermap-web-a9aeaac17718096ba11208e6c7ce4902ab355050.zip |
Flag to disable server change
Diffstat (limited to 'modern/src/common')
-rw-r--r-- | modern/src/common/attributes/useServerAttributes.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modern/src/common/attributes/useServerAttributes.js b/modern/src/common/attributes/useServerAttributes.js index e87d1d7e..f70fd220 100644 --- a/modern/src/common/attributes/useServerAttributes.js +++ b/modern/src/common/attributes/useServerAttributes.js @@ -23,6 +23,10 @@ export default (t) => useMemo(() => ({ type: 'string', subtype: 'color', }, + disableChange: { + name: t('serverChangeDisable'), + type: 'boolean', + }, 'ui.disableLoginLanguage': { name: t('attributeUiDisableLoginLanguage'), type: 'boolean', |