Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user