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)
downloadetbsa-traccar-web-9f7b998c50b304205858973fe542b49b0e705be5.tar.gz
etbsa-traccar-web-9f7b998c50b304205858973fe542b49b0e705be5.tar.bz2
etbsa-traccar-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 05002f1..7d72083 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 91a54d0..928a9be 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'
}]
});