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:
2026-05-19 18:36:54 +02:00
parent 81ce9d263d
commit 6dcd8b1863
30 changed files with 130 additions and 40 deletions

View File

@@ -69,7 +69,6 @@ const columns = [
class="mt-3"
:columns="normalizeTableColumns(columns)"
:data="props.item.times"
:empty="{ icon: 'i-heroicons-circle-stack-20-solid', label: 'Noch keine Einträge' }"
>
<template #state-cell="{ row }">
<span
@@ -102,6 +101,9 @@ const columns = [
<template #project-cell="{ row }">
{{ row.original.project ? row.original.project.name : "" }}
</template>
<template #empty>
<TableEmptyState label="Noch keine Einträge" />
</template>
</UTable>
</UCard>