fix(datatables): select table items (#4116)

pull/4111/head
Chaim Lev-Ari 2020-07-28 00:53:21 +03:00 committed by GitHub
parent 1edf981330
commit 1ff5708183
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ angular.module('portainer.app').controller('GenericDatatableController', [
});
this.state.firstClickedItem = item;
} else if (event) {
item.Checked = true;
this.state.firstClickedItem = item;
}
this.state.selectedItems = this.state.filteredDataSet.filter((i) => i.Checked);