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:
@@ -203,7 +203,6 @@ setupPage()
|
||||
label: 'Saldo'
|
||||
},
|
||||
])"
|
||||
:empty="{ icon: 'i-heroicons-circle-stack-20-solid', label: 'Keine Bankkonten anzuzeigen' }"
|
||||
>
|
||||
<template #expired-cell="{ row }">
|
||||
<span v-if="row.original.expired" class="text-error-600">Ausgelaufen</span>
|
||||
@@ -221,6 +220,9 @@ setupPage()
|
||||
<template #iban-cell="{ row }">
|
||||
{{ row.original.iban.match(/.{1,5}/g).join(" ") }}
|
||||
</template>
|
||||
<template #empty>
|
||||
<TableEmptyState label="Keine Bankkonten anzuzeigen" />
|
||||
</template>
|
||||
</UTable>
|
||||
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user