Anpassung Menü
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
import { del, get, post, put } from "../api.js";
|
||||
import { clear, el, mount } from "../dom.js";
|
||||
import { appBar } from "../appbar.js";
|
||||
|
||||
const ROLE_LABEL = { owner: "Eigentümer", editor: "Bearbeiter", viewer: "Nur lesen" };
|
||||
|
||||
@@ -352,9 +353,10 @@ export async function shareView(root, { listId, back }) {
|
||||
const openInvites = invites.filter((i) => i.status === "pending");
|
||||
|
||||
mount(root,
|
||||
el("header.bar", {},
|
||||
el("button.linklike", { type: "button", onclick: back }, "‹ Zurück zur Liste")
|
||||
),
|
||||
appBar({
|
||||
back: { label: "Zurück", onClick: back },
|
||||
title: list ? list.name : "Teilen",
|
||||
}),
|
||||
banner ? el(banner.kind === "error" ? "p.error" : "p.notice", {}, banner.message) : null,
|
||||
|
||||
el("section.card", {},
|
||||
|
||||
Reference in New Issue
Block a user