diff --git a/src/components/table/UTable.vue b/src/components/table/UTable.vue index 3813f3e..cfb2025 100644 --- a/src/components/table/UTable.vue +++ b/src/components/table/UTable.vue @@ -10,6 +10,7 @@ export interface Sort { column?: string; direction?: 'asc' | 'desc' } const props = withDefaults(defineProps<{ sortBy?: string | ((a: T, b: T) => void) rows?: T[] + hideHeader?: boolean columns?: { key: string; sortable?: boolean; class?: string; [key: string]: any }[] columnAttribute?: string sort?: Sort @@ -70,7 +71,7 @@ function onSort(column: { key: string; direction?: 'asc' | 'desc' }) {