Dashboard

This commit is contained in:
Jens Cornelsen
2025-04-12 22:24:11 +02:00
parent dfe13dd6bd
commit 7db145af7c
2 changed files with 2 additions and 2 deletions

View File

@@ -78,7 +78,7 @@
}
</style>
<div class="my-4 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-2">
<div class="my-4 grid grid-cols-[1fr] md:grid-cols-[1fr,2fr] lg:grid-cols-[1fr,2fr]">
{#if aufnahme.verbrauchsausweise_wohnen.length > 0}
{#each [aufnahme.verbrauchsausweise_wohnen.sort((a, b) => new Date(b.updated_at || 0).getTime() - new Date(a.updated_at || 0).getTime())[0]] as ausweis}
<DashboardAusweis {benutzer} {ausweis} {aufnahme} {objekt} rechnung={ausweis.rechnung}></DashboardAusweis>