diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-12 15:04:16 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-12 15:04:16 +1300 |
commit | 2273341a2d22ac86dbc2c23481c06fe7d2c91a0f (patch) | |
tree | 13a8bd8c4cbad14acf829e0cd51833a164729a5c /web | |
parent | d15fa5e2316b62884e48830c6c0bacb54ed1cd52 (diff) | |
download | trackermap-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.js | 3 |
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); |