From 14500ec4a2bf35ceb91d5253531ac4477edb8fa6 Mon Sep 17 00:00:00 2001 From: Lint Action Date: Sun, 22 May 2022 17:01:11 +0000 Subject: [PATCH] Fix code style issues with ESLint --- ereuse_devicehub/static/js/main_inventory.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ereuse_devicehub/static/js/main_inventory.js b/ereuse_devicehub/static/js/main_inventory.js index cd64b3de..bfd88858 100644 --- a/ereuse_devicehub/static/js/main_inventory.js +++ b/ereuse_devicehub/static/js/main_inventory.js @@ -319,10 +319,11 @@ function export_file(type_file) { class lotsSearcher { static lots = []; + static lotsSearchElement = null; static getListLots = () => { - let lotsList = document.getElementById("LotsSelector") + const lotsList = document.getElementById("LotsSelector") if (lotsList) { // Apply filter to get only labels return Array.from(lotsList.children).filter(item => item.querySelector("label"));