diff --git a/ereuse_devicehub/static/js/main_inventory.js b/ereuse_devicehub/static/js/main_inventory.js index 75006a2f..bf2fdf43 100644 --- a/ereuse_devicehub/static/js/main_inventory.js +++ b/ereuse_devicehub/static/js/main_inventory.js @@ -282,13 +282,13 @@ async function processSelectedDevices() { this.notifyUser("Fail to remove devices from selected lot/s", error.responseJSON.message, true); } } - requestCount += 1 if (requestCount == this.list.length) { this.reRenderTable(); - this.list = [] + this.list = []; } }) + document.getElementById("dropDownLotsSelector").classList.remove("show"); } /**