fix: fix a few typos

This commit is contained in:
Sophie-Gaëlle CALLOCH
2026-07-07 15:51:53 +02:00
parent 75d1d5f7fa
commit 55c2628c75
9 changed files with 31 additions and 31 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ export type SortDirection = "asc" | "desc";
export type UseSortOptions = {
defaultSortKey?: string;
defaultSortDirection?: SortDirection;
ignoredColums?: MaybeRefOrGetter<string[]>;
ignoredColumns?: MaybeRefOrGetter<string[]>;
headerComponent?: HeaderComponent;
};
@@ -16,7 +16,7 @@ export const useSort = <T>(array: MaybeRefOrGetter<T[]>, options?: UseSortOption
sortKey.value = key;
sortDirection.value = direction;
};
const showColumn = (sortKey: string) => !toValue(options?.ignoredColums)?.includes(sortKey);
const showColumn = (sortKey: string) => !toValue(options?.ignoredColumns)?.includes(sortKey);
const headerProps = computed(() => ({
onSort: sortBy,
showColumn,