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