Check devices in current page
This commit is contained in:
parent
cc7b453c06
commit
411fe85b19
|
@ -98,7 +98,7 @@ window.addEventListener("DOMContentLoaded", () => {
|
|||
if (TableController.getAllDevices().length == TableController.getSelectedDevices().length) {
|
||||
btnSelectAll.checked = true;
|
||||
btnSelectAll.indeterminate = false;
|
||||
} else if(TableController.getAllDevices().length < TableController.getSelectedDevices().length) {
|
||||
} else if(TableController.getAllSelectedDevicesInCurrentPage().length > 0) {
|
||||
btnSelectAll.indeterminate = true;
|
||||
} else {
|
||||
btnSelectAll.checked = false;
|
||||
|
|
Reference in New Issue