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;