diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/app/view/edit/ToolbarController.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/edit/ToolbarController.js b/web/app/view/edit/ToolbarController.js index 2b2297a9..d3ca9de6 100644 --- a/web/app/view/edit/ToolbarController.js +++ b/web/app/view/edit/ToolbarController.js @@ -63,7 +63,7 @@ Ext.define('Traccar.view.edit.ToolbarController', { }, onSelectionChange: function (selection, selected) { - var disabled = selected.length > 0; + var disabled = selected.length === 0; this.lookupReference('toolbarEditButton').setDisabled(disabled); this.lookupReference('toolbarRemoveButton').setDisabled(disabled); } |