Anpassung Menü

This commit is contained in:
2026-08-09 18:44:21 +02:00
parent b80e2d5a6c
commit 8ffbda875e
13 changed files with 365 additions and 58 deletions

View File

@@ -8,6 +8,7 @@
import { get } from "../api.js";
import { el, euro, formatQuantity, mount } from "../dom.js";
import { appBar } from "../appbar.js";
let expandedId = null;
@@ -127,9 +128,7 @@ export async function pricesView(root, { listId, back }) {
const savings = withSpread.reduce((sum, r) => sum + r.spread_cents, 0);
mount(root,
el("header.bar", {},
el("button.linklike", { type: "button", onclick: back },
" Zurück zur Liste")),
appBar({ back: { label: "Zurück", onClick: back }, title: "Preise" }),
banner ? el("p.error", {}, banner) : null,