Vereinheitliche Empty States in Tabellen

This commit is contained in:
2026-04-24 14:42:53 +02:00
parent 50c76b67c7
commit 5869f88c1a
12 changed files with 24 additions and 53 deletions

View File

@@ -35,13 +35,14 @@ const createExport = async () => {
</template>
</UDashboardNavbar>
<UTable
v-if="createddocuments.length > 0"
:loading="true"
v-model="selected"
:loading-state="{ icon: 'i-heroicons-arrow-path-20-solid', label: 'Loading...' }"
:data="createddocuments" />
:data="createddocuments"
:empty="{ icon: 'i-heroicons-circle-stack-20-solid', label: 'Keine SEPA-Belege anzuzeigen' }"
/>
</template>
<style scoped>
</style>
</style>

View File

@@ -154,6 +154,7 @@ const createExport = async () => {
{ key: 'type', label: 'Typ' },
{ key: 'download', label: 'Download' },
])"
:empty="{ icon: 'i-heroicons-circle-stack-20-solid', label: 'Keine Exporte anzuzeigen' }"
>
<template #created_at-cell="{row}">
{{dayjs(row.original.created_at).format("DD.MM.YYYY HH:mm")}}