Action failed, fix issues
This commit is contained in:
parent
a51cc9872d
commit
97e931e165
|
@ -38,7 +38,7 @@ const Api = {
|
|||
*/
|
||||
async devices_add(lotID, listDevices) {
|
||||
const queryURL = `${API_URLS.devices_modify.replace("UUID", lotID) }?${ listDevices.map(deviceID => `id=${ deviceID}`).join("&")}`;
|
||||
return await Api.doRequest(queryURL, "POST", null);
|
||||
return Api.doRequest(queryURL, "POST", null);
|
||||
},
|
||||
|
||||
/**
|
||||
|
@ -48,7 +48,7 @@ const Api = {
|
|||
*/
|
||||
async devices_remove(lotID, listDevices) {
|
||||
const queryURL = `${API_URLS.devices_modify.replace("UUID", lotID) }?${ listDevices.map(deviceID => `id=${ deviceID}`).join("&")}`;
|
||||
return await Api.doRequest(queryURL, "DELETE", null);
|
||||
return Api.doRequest(queryURL, "DELETE", null);
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
@ -240,7 +240,7 @@
|
|||
|
||||
btnSelectAll.addEventListener("click", event => {
|
||||
const checkedState = event.target.checked;
|
||||
tableListCheckboxes.forEach(ckeckbox => ckeckbox.checked = checkedState);
|
||||
tableListCheckboxes.forEach(ckeckbox => {ckeckbox.checked = checkedState});
|
||||
})
|
||||
|
||||
/**
|
||||
|
|
Reference in New Issue