aboutsummaryrefslogtreecommitdiff
path: root/web/app/store
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
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')
-rw-r--r--web/app/store/ServerAttributes.js4
-rw-r--r--web/app/store/UserAttributes.js4
2 files changed, 8 insertions, 0 deletions
diff --git a/web/app/store/ServerAttributes.js b/web/app/store/ServerAttributes.js
index 05002f16..7d720836 100644
--- a/web/app/store/ServerAttributes.js
+++ b/web/app/store/ServerAttributes.js
@@ -47,5 +47,9 @@ Ext.define('Traccar.store.ServerAttributes', {
allowDecimals: false,
minValue: Traccar.Style.mapDefaultZoom,
maxValue: Traccar.Style.mapMaxZoom
+ }, {
+ key: 'web.disableReport',
+ name: Strings.attributeWebDisableReport,
+ valueType: 'boolean'
}]
});
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'
}]
});