Fix code style issues with ESLint

This commit is contained in:
Lint Action 2022-05-22 17:01:11 +00:00
parent 4164deae2e
commit 14500ec4a2

View file

@ -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"));