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

@@ -6,6 +6,7 @@ import { del, get, patch, post } from "../api.js";
import { el, mount } from "../dom.js";
import { set, state } from "../store.js";
import { cameraAvailable, scanBarcode } from "./scanner.js";
import { appBar } from "../appbar.js";
let editingId = null;
let query = "";
@@ -261,9 +262,7 @@ export async function articlesView(root, { listId, back }) {
});
mount(root,
el("header.bar", {},
el("button.linklike", { type: "button", onclick: back },
" Zurück zur Liste")),
appBar({ back: { label: "Zurück", onClick: back }, title: "Artikel" }),
banner ? el(banner.kind === "error" ? "p.error" : "p.notice", {}, banner.message) : null,