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:
@@ -197,7 +197,6 @@ onMounted(refreshData)
|
||||
{ key: 'path', label: 'Datei' },
|
||||
{ key: 'actions', label: '' }
|
||||
])"
|
||||
:empty="{ icon: 'i-heroicons-document', label: 'Keine Briefpapiere gefunden' }"
|
||||
>
|
||||
<template #name-cell="{ row }">
|
||||
<span class="font-medium text-gray-900 dark:text-white">
|
||||
@@ -260,6 +259,9 @@ onMounted(refreshData)
|
||||
</ButtonWithConfirm>
|
||||
</div>
|
||||
</template>
|
||||
<template #empty>
|
||||
<TableEmptyState label="Keine Briefpapiere gefunden" icon="i-heroicons-document" />
|
||||
</template>
|
||||
</UTable>
|
||||
</UDashboardPanelContent>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user