aboutsummaryrefslogtreecommitdiff
path: root/web/app/store/ServerAttributes.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-08-09 21:54:23 +1200
committerGitHub <noreply@github.com>2017-08-09 21:54:23 +1200
commitc7888fcf5e92280ed4573ee0973872a59451ac52 (patch)
treeafbc234fe4e6eb666178723414c380125d8b589a /web/app/store/ServerAttributes.js
parentac0d6b1bf5833536b28aabad25b628ea0322fb76 (diff)
parentdf4d20d9e31193d73d001795ee4de5d6270b4abb (diff)
downloadtrackermap-web-c7888fcf5e92280ed4573ee0973872a59451ac52.tar.gz
trackermap-web-c7888fcf5e92280ed4573ee0973872a59451ac52.tar.bz2
trackermap-web-c7888fcf5e92280ed4573ee0973872a59451ac52.zip
Merge pull request #539 from Abyss777/disable_report
Implement attribute to disable reports
Diffstat (limited to 'web/app/store/ServerAttributes.js')
-rw-r--r--web/app/store/ServerAttributes.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/app/store/ServerAttributes.js b/web/app/store/ServerAttributes.js
index 05002f16..89a0137b 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: 'ui.disableReport',
+ name: Strings.attributeUiDisableReport,
+ valueType: 'boolean'
}]
});