chore(webui): fix eslint errors
This commit is contained in:
parent
81dcc7a8bf
commit
75c9c843ee
3 changed files with 2 additions and 4 deletions
|
@ -183,7 +183,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
let listEl: HTMLUListElement;
|
let listEl: HTMLUListElement;
|
||||||
let optionFocusIndex: number = -1;
|
let optionFocusIndex = -1;
|
||||||
function handleArrowKeys(ev: KeyboardEvent) {
|
function handleArrowKeys(ev: KeyboardEvent) {
|
||||||
if (!options.length) {
|
if (!options.length) {
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
hash: "",
|
hash: "",
|
||||||
},
|
},
|
||||||
listen: () => {
|
listen: () => {
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
||||||
return () => {};
|
return () => {};
|
||||||
},
|
},
|
||||||
navigate: (to: string | number) => {
|
navigate: (to: string | number) => {
|
||||||
|
|
|
@ -143,7 +143,6 @@
|
||||||
async function onSelectorInput(ev: CustomEvent<IValue>) {
|
async function onSelectorInput(ev: CustomEvent<IValue>) {
|
||||||
const [xValue, yValue] = selectorCoords;
|
const [xValue, yValue] = selectorCoords;
|
||||||
selectorCoords = null;
|
selectorCoords = null;
|
||||||
console.log("HERE");
|
|
||||||
await Promise.all(
|
await Promise.all(
|
||||||
[
|
[
|
||||||
[x, xValue],
|
[x, xValue],
|
||||||
|
@ -155,9 +154,7 @@
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
console.log("THERE");
|
|
||||||
await loadPoints();
|
await loadPoints();
|
||||||
console.log("OVERHER");
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue