This commit is contained in:
Jens Cornelsen
2025-04-12 22:35:55 +02:00
parent 7db145af7c
commit 70af2e2d07

View File

@@ -78,7 +78,7 @@
}
</style>
<div class="my-4 grid grid-cols-[1fr] md:grid-cols-[1fr,2fr] lg:grid-cols-[1fr,2fr]">
<div class="my-4 grid grid-cols-[1fr] md:grid-cols-[1fr,3fr] lg:grid-cols-[1fr,3fr]">
{#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>