KI-AGENT: Tabellen-Empty-States ohne JSON rendern
Ersetzt ungültige UTable-Empty-Props durch einen gemeinsamen Empty-State-Slot, damit leere Tabellen keine Objekt-/JSON-Ausgabe mehr anzeigen.
This commit is contained in:
@@ -97,7 +97,6 @@ const createExport = async () => {
|
||||
{ key: 'documentDate', label: 'Belegdatum' },
|
||||
{ key: 'outgoingsepamandate', label: 'SEPA-Mandat' },
|
||||
])"
|
||||
:empty="{ icon: 'i-heroicons-circle-stack-20-solid', label: 'Keine SEPA-Belege anzuzeigen' }"
|
||||
>
|
||||
<template #customer-cell="{ row }">
|
||||
{{ row.original.customer?.name || "-" }}
|
||||
@@ -105,6 +104,9 @@ const createExport = async () => {
|
||||
<template #outgoingsepamandate-cell="{ row }">
|
||||
{{ row.original.outgoingsepamandate?.reference || "-" }}
|
||||
</template>
|
||||
<template #empty>
|
||||
<TableEmptyState label="Keine SEPA-Belege anzuzeigen" />
|
||||
</template>
|
||||
</UTable>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user