diff options
author | Abyss777 <abyss@fox5.ru> | 2017-08-09 12:10:23 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-08-09 12:10:23 +0500 |
commit | e7aaac6c970520728bbc0d431498ffac9bb98ad7 (patch) | |
tree | 5c775834a432ac7923bc4c8e76035a733086cbc5 /web/app/store | |
parent | 36ac724810ff77ec4070ed8f20ba7336204e384c (diff) | |
download | trackermap-web-e7aaac6c970520728bbc0d431498ffac9bb98ad7.tar.gz trackermap-web-e7aaac6c970520728bbc0d431498ffac9bb98ad7.tar.bz2 trackermap-web-e7aaac6c970520728bbc0d431498ffac9bb98ad7.zip |
Move hide logic to Main and rename attribute
Diffstat (limited to 'web/app/store')
-rw-r--r-- | web/app/store/ServerAttributes.js | 4 | ||||
-rw-r--r-- | web/app/store/UserAttributes.js | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/web/app/store/ServerAttributes.js b/web/app/store/ServerAttributes.js index 7d720836..89a0137b 100644 --- a/web/app/store/ServerAttributes.js +++ b/web/app/store/ServerAttributes.js @@ -48,8 +48,8 @@ Ext.define('Traccar.store.ServerAttributes', { minValue: Traccar.Style.mapDefaultZoom, maxValue: Traccar.Style.mapMaxZoom }, { - key: 'web.disableReport', - name: Strings.attributeWebDisableReport, + key: 'ui.disableReport', + name: Strings.attributeUiDisableReport, valueType: 'boolean' }] }); diff --git a/web/app/store/UserAttributes.js b/web/app/store/UserAttributes.js index 928a9be8..6cf06fbb 100644 --- a/web/app/store/UserAttributes.js +++ b/web/app/store/UserAttributes.js @@ -80,8 +80,8 @@ Ext.define('Traccar.store.UserAttributes', { minValue: Traccar.Style.mapDefaultZoom, maxValue: Traccar.Style.mapMaxZoom }, { - key: 'web.disableReport', - name: Strings.attributeWebDisableReport, + key: 'ui.disableReport', + name: Strings.attributeUiDisableReport, valueType: 'boolean' }] }); |