diff options
author | Abyss777 <abyss@fox5.ru> | 2017-02-07 15:26:44 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-02-07 15:26:44 +0500 |
commit | 01991bcc64cddd23005210d87594080fe834f64b (patch) | |
tree | 91fefec3b3f32f675ea3f54ccbdfca50ab6f5e42 /web/app | |
parent | a162e2da3e37841a4dab1b3c438992ad01af16db (diff) | |
download | trackermap-web-01991bcc64cddd23005210d87594080fe834f64b.tar.gz trackermap-web-01991bcc64cddd23005210d87594080fe834f64b.tar.bz2 trackermap-web-01991bcc64cddd23005210d87594080fe834f64b.zip |
Hide command button for readonly users
Diffstat (limited to 'web/app')
-rw-r--r-- | web/app/view/DevicesController.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/app/view/DevicesController.js b/web/app/view/DevicesController.js index cd858341..62853919 100644 --- a/web/app/view/DevicesController.js +++ b/web/app/view/DevicesController.js @@ -58,6 +58,7 @@ Ext.define('Traccar.view.DevicesController', { this.lookupReference('toolbarAddButton').setVisible(!readonly && !deviceReadonly); this.lookupReference('toolbarEditButton').setVisible(!readonly && !deviceReadonly); this.lookupReference('toolbarRemoveButton').setVisible(!readonly && !deviceReadonly); + this.lookupReference('deviceCommandButton').setVisible(!readonly && !deviceReadonly); this.lookupReference('toolbarGeofencesButton').setVisible(!readonly); }, |