1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-04 21:35:23 +02:00

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

This commit is contained in:
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

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);