Anpassung Menü
This commit is contained in:
@@ -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,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user