aboutsummaryrefslogtreecommitdiff
path: root/web/app/store/UserAttributes.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-08-01 11:57:54 +0500
committerAbyss777 <abyss@fox5.ru>2017-08-01 11:57:54 +0500
commit9f7b998c50b304205858973fe542b49b0e705be5 (patch)
tree8ef8f08fb184ebb52bc1c42e2d5dc5f7dd624de0 /web/app/store/UserAttributes.js
parent3f4190a60c119f55822b218cc54fff22ff3c2ac5 (diff)
downloadtrackermap-web-9f7b998c50b304205858973fe542b49b0e705be5.tar.gz
trackermap-web-9f7b998c50b304205858973fe542b49b0e705be5.tar.bz2
trackermap-web-9f7b998c50b304205858973fe542b49b0e705be5.zip
Implemented attribute to disable reports
Diffstat (limited to 'web/app/store/UserAttributes.js')
-rw-r--r--web/app/store/UserAttributes.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/app/store/UserAttributes.js b/web/app/store/UserAttributes.js
index 91a54d04..928a9be8 100644
--- a/web/app/store/UserAttributes.js
+++ b/web/app/store/UserAttributes.js
@@ -79,5 +79,9 @@ Ext.define('Traccar.store.UserAttributes', {
allowDecimals: false,
minValue: Traccar.Style.mapDefaultZoom,
maxValue: Traccar.Style.mapMaxZoom
+ }, {
+ key: 'web.disableReport',
+ name: Strings.attributeWebDisableReport,
+ valueType: 'boolean'
}]
});