hide data table empty state when loading

This commit is contained in:
pa
2026-01-24 23:03:07 +09:00
parent cbd41598b5
commit e35e190ba1
2 changed files with 50 additions and 50 deletions

View File

@@ -61,7 +61,7 @@
<TableRow v-else>
<TableCell class="h-24 text-center" :colspan="table.getVisibleLeafColumns().length">
<slot name="empty">
<DataTableEmpty :type="emptyType" />
<DataTableEmpty v-if="!loading" :type="emptyType" />
</slot>
</TableCell>
</TableRow>