From 67ba95ae23d64ac1dcb9cf1991f4f765b1dbd2ef Mon Sep 17 00:00:00 2001 From: Meik Date: Sat, 17 Jan 2026 20:59:26 +0100 Subject: [PATCH] Aktueller Stand --- components/CalendarBoard.tsx | 16 ++++++++-------- components/NavBar.tsx | 8 ++++++++ 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/components/CalendarBoard.tsx b/components/CalendarBoard.tsx index d918848..54365c6 100644 --- a/components/CalendarBoard.tsx +++ b/components/CalendarBoard.tsx @@ -94,7 +94,7 @@ export default function CalendarBoard() { const [listQuickRange, setListQuickRange] = useState< "next7" | "next30" | "nextYear" | null >("next30"); - const [hidePastInList, setHidePastInList] = useState(true); + const [hidePastInList, setHidePastInList] = useState(false); const [initialView, setInitialView] = useState(() => { if (typeof window === "undefined") return DEFAULT_CALENDAR_VIEW; try { @@ -1488,7 +1488,7 @@ export default function CalendarBoard() { ) } > - In 7 Tagen + 7 Tage @@ -1539,6 +1539,9 @@ export default function CalendarBoard() { > Auswahl löschen + + {bulkSelection.size} ausgewählt + - - {bulkSelection.size} ausgewählt - )} diff --git a/components/NavBar.tsx b/components/NavBar.tsx index d56c9f3..e3d93c1 100644 --- a/components/NavBar.tsx +++ b/components/NavBar.tsx @@ -56,6 +56,14 @@ export default function NavBar() { loadAppName(); }, []); + useEffect(() => { + if (typeof document === "undefined") return; + const nextTitle = appName?.trim(); + if (nextTitle) { + document.title = nextTitle; + } + }, [appName]); + useEffect(() => { if (typeof document === "undefined") return; const root = document.documentElement;