From bc446e7dbf51d158375e241d5097a2d443dc3071 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 22 Jun 2022 09:03:12 +0200 Subject: [PATCH] run babel --- ereuse_devicehub/static/js/main_inventory.build.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ereuse_devicehub/static/js/main_inventory.build.js b/ereuse_devicehub/static/js/main_inventory.build.js index 86f66e7a..1e1b21fd 100644 --- a/ereuse_devicehub/static/js/main_inventory.build.js +++ b/ereuse_devicehub/static/js/main_inventory.build.js @@ -683,14 +683,14 @@ async function processSelectedDevices() { }); listHTML.html(""); - let lot_temporary = lots.filter(lot => !lot.transfer); - appendMenu(lot_temporary, listHTML, templateLot, selectedDevices, actions, 'Temporary'); + const lot_temporary = lots.filter(lot => !lot.transfer); + appendMenu(lot_temporary, listHTML, templateLot, selectedDevices, actions, "Temporary"); - let lot_incoming = lots.filter(lot => lot.transfer && lot.transfer == 'Incoming'); - appendMenu(lot_incoming, listHTML, templateLot, selectedDevices, actions, 'Incoming'); + const lot_incoming = lots.filter(lot => lot.transfer && lot.transfer == "Incoming"); + appendMenu(lot_incoming, listHTML, templateLot, selectedDevices, actions, "Incoming"); - let lot_outgoing = lots.filter(lot => lot.transfer && lot.transfer == 'Outgoing'); - appendMenu(lot_outgoing, listHTML, templateLot, selectedDevices, actions, 'Outgoing'); + const lot_outgoing = lots.filter(lot => lot.transfer && lot.transfer == "Outgoing"); + appendMenu(lot_outgoing, listHTML, templateLot, selectedDevices, actions, "Outgoing"); lotsSearcher.enable();