diff --git a/ereuse_devicehub/static/js/main_inventory.build.js b/ereuse_devicehub/static/js/main_inventory.build.js index 546f398c..0032f649 100644 --- a/ereuse_devicehub/static/js/main_inventory.build.js +++ b/ereuse_devicehub/static/js/main_inventory.build.js @@ -665,7 +665,7 @@ async function processSelectedDevices() { }); listHTML.html(""); - const lot_temporary = lots.filter(lot => !lot.transfer); + const lot_temporary = lots.filter(lot => !lot.transfer && !lot.trade); appendMenu(lot_temporary, listHTML, templateLot, selectedDevices, actions, "Temporary"); const lot_incoming = lots.filter(lot => lot.transfer && lot.transfer == "Incoming"); diff --git a/ereuse_devicehub/static/js/main_inventory.js b/ereuse_devicehub/static/js/main_inventory.js index dc0a09a7..f5c50241 100644 --- a/ereuse_devicehub/static/js/main_inventory.js +++ b/ereuse_devicehub/static/js/main_inventory.js @@ -627,7 +627,7 @@ async function processSelectedDevices() { }) listHTML.html(""); - const lot_temporary = lots.filter(lot => !lot.transfer); + const lot_temporary = lots.filter(lot => !lot.transfer && !lot.trade); appendMenu(lot_temporary, listHTML, templateLot, selectedDevices, actions, "Temporary"); const lot_incoming = lots.filter(lot => lot.transfer && lot.transfer == "Incoming");