DEV: Remove jquery from group list (#16981)

This commit is contained in:
Isaac Janzen 2022-06-02 16:01:07 -05:00 committed by GitHub
parent 951b3016a4
commit 91f00ecf5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 2 deletions

View File

@ -216,12 +216,20 @@ export default Controller.extend({
@action
bulkSelectAll() {
$("input.bulk-select:not(:checked)").click();
document
.querySelectorAll("input.bulk-select:not(:checked)")
.forEach((checkbox) => {
checkbox.checked = true;
});
},
@action
bulkClearAll() {
$("input.bulk-select:checked").click();
document
.querySelectorAll("input.bulk-select:checked")
.forEach((checkbox) => {
checkbox.checked = false;
});
},
@action