aboutsummaryrefslogtreecommitdiff
path: root/web/app/model
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2022-01-31 22:57:36 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2022-01-31 22:57:36 -0800
commit4dcb17d6d39a944cf0f1186c77b463078485edb7 (patch)
tree3871a6ebc8cf2705ab22e0e12d796ce29d9a2c40 /web/app/model
parent32792149bbffbc74fbaae85bb3a40beaf30776ef (diff)
downloadtrackermap-web-4dcb17d6d39a944cf0f1186c77b463078485edb7.tar.gz
trackermap-web-4dcb17d6d39a944cf0f1186c77b463078485edb7.tar.bz2
trackermap-web-4dcb17d6d39a944cf0f1186c77b463078485edb7.zip
Add option to disable reports
Diffstat (limited to 'web/app/model')
-rw-r--r--web/app/model/Server.js3
-rw-r--r--web/app/model/User.js3
2 files changed, 6 insertions, 0 deletions
diff --git a/web/app/model/Server.js b/web/app/model/Server.js
index afafe908..177b4fc4 100644
--- a/web/app/model/Server.js
+++ b/web/app/model/Server.js
@@ -35,6 +35,9 @@ Ext.define('Traccar.model.Server', {
name: 'limitCommands',
type: 'boolean'
}, {
+ name: 'disableReports',
+ type: 'boolean'
+ }, {
name: 'map',
type: 'string'
}, {
diff --git a/web/app/model/User.js b/web/app/model/User.js
index 76f2a366..fcaff007 100644
--- a/web/app/model/User.js
+++ b/web/app/model/User.js
@@ -81,6 +81,9 @@ Ext.define('Traccar.model.User', {
name: 'limitCommands',
type: 'boolean'
}, {
+ name: 'disableReports',
+ type: 'boolean'
+ }, {
name: 'poiLayer',
type: 'string'
}, {