update JS deps

This commit is contained in:
imperosol
2026-03-11 22:41:51 +01:00
parent 83255945c4
commit 1686a9da87
6 changed files with 338 additions and 292 deletions

View File

@@ -64,7 +64,7 @@ document.addEventListener("alpine:init", () => {
checkFormulas() {
const products = new Set(
Object.keys(this.basket).map((i: string) => Number.parseInt(i)),
Object.keys(this.basket).map((i: string) => Number.parseInt(i, 10)),
);
const formula: ProductFormula = config.formulas.find((f: ProductFormula) => {
return f.products.every((p: number) => products.has(p));