aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-10-12 15:04:16 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-10-12 15:04:16 +1300
commit2273341a2d22ac86dbc2c23481c06fe7d2c91a0f (patch)
tree13a8bd8c4cbad14acf829e0cd51833a164729a5c /web
parentd15fa5e2316b62884e48830c6c0bacb54ed1cd52 (diff)
downloadtrackermap-web-2273341a2d22ac86dbc2c23481c06fe7d2c91a0f.tar.gz
trackermap-web-2273341a2d22ac86dbc2c23481c06fe7d2c91a0f.tar.bz2
trackermap-web-2273341a2d22ac86dbc2c23481c06fe7d2c91a0f.zip
Remove unused variable
Diffstat (limited to 'web')
-rw-r--r--web/app/view/SettingsMenuController.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/web/app/view/SettingsMenuController.js b/web/app/view/SettingsMenuController.js
index fdc1e538..b838fb40 100644
--- a/web/app/view/SettingsMenuController.js
+++ b/web/app/view/SettingsMenuController.js
@@ -37,11 +37,10 @@ Ext.define('Traccar.view.SettingsMenuController', {
],
init: function () {
- var admin, manager, readonly, deviceReadonly;
+ var admin, manager, readonly;
admin = Traccar.app.getUser().get('administrator');
manager = Traccar.app.getUser().get('userLimit') !== 0;
readonly = Traccar.app.getPreference('readonly', false);
- deviceReadonly = Traccar.app.getUser().get('deviceReadonly');
if (admin) {
this.lookupReference('settingsServerButton').setHidden(false);
this.lookupReference('settingsStatisticsButton').setHidden(false);