diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/app/view/edit/GroupsController.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/edit/GroupsController.js b/web/app/view/edit/GroupsController.js index 34eec8da..9ced956c 100644 --- a/web/app/view/edit/GroupsController.js +++ b/web/app/view/edit/GroupsController.js @@ -84,7 +84,7 @@ Ext.define('Traccar.view.edit.GroupsController', { }, onSelectionChange: function (selection, selected) { - var disabled = selected.length > 0; + var disabled = selected.length === 0; this.lookupReference('toolbarGeofencesButton').setDisabled(disabled); this.lookupReference('toolbarAttributesButton').setDisabled(disabled); this.lookupReference('toolbarDriversButton').setDisabled(disabled); |