Merge remote-tracking branch 'origin/main'
Some checks failed
Workflow / ʦ TypeScript (push) Failing after 4m51s
Workflow / ⚫️ Test (push) Has been skipped

This commit is contained in:
T. Zehetbauer
2026-04-01 14:05:13 +02:00
7 changed files with 64 additions and 29 deletions

View File

@@ -25,14 +25,7 @@ export default async function VerbandPage({ params }: PageProps) {
if (!acct) return <AccountNotFound />;
const api = createVerbandApi(client);
let stats = { totalClubs: 0, totalMembers: 0, totalRoles: 0, totalFeeTypes: 0 };
try {
stats = await api.getDashboardStats(acct.id);
} catch (e) {
console.error('Failed to load verband dashboard:', e);
}
const stats = await api.getDashboardStats(acct.id);
return (
<CmsPageShell account={account} title="Verbandsverwaltung">