feat: introduce compact prop to data table component and shorten "Actualizar" button label.

This commit is contained in:
2026-03-04 15:49:45 -07:00
parent f423388865
commit 6afee0a976
2 changed files with 4 additions and 2 deletions

View File

@@ -13,6 +13,7 @@
// Props para selección
selectedIds?: number[];
onRowClick?: (row: TData) => void;
compact?: boolean;
};
let {
@@ -22,7 +23,8 @@
hasMore,
loadMore,
selectedIds = [],
onRowClick
onRowClick,
compact = false
}: DataTableProps<TData, TValue> = $props();
const table = createSvelteTable({

View File

@@ -972,7 +972,7 @@
onclick={() => handleUpdateStatus(true)}
>
<RefreshCw class="mr-2 h-4 w-4" />
Actualizar Est
Actualizar
</Button>
<Button
variant="outline"