Skip to content

Commit

Permalink
fix(sortable): allow null as prop type
Browse files Browse the repository at this point in the history
Co-authored-by: Maksim Nedoshev <[email protected]>
  • Loading branch information
joshLumpkin and m0ksem authored Dec 5, 2023
1 parent 98f2111 commit 6e7a8de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const useSortableProps = {
...useThrottleProps,
sortBy: { type: String as PropType<string | undefined> },
columnSorted: { type: Object as PropType<any | undefined> },
sortingOrder: { type: String as PropType<DataTableSortingOrder | undefined> },
sortingOrder: { type: [String, null] as PropType<DataTableSortingOrder | undefined> },
disableClientSideSorting: { type: Boolean, default: false },
}

Expand Down

0 comments on commit 6e7a8de

Please sign in to comment.