Skip to content

Commit

Permalink
fix(Table): type sort prop
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed May 30, 2023
1 parent 40b6884 commit 3ba0aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/components/data/Table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default defineComponent({
default: 'label'
},
sort: {
type: Object,
type: Object as PropType<{ column: string, direction: 'asc' | 'desc' }>,
default: () => ({})
},
sortButton: {
Expand Down

1 comment on commit 3ba0aed

@vercel
Copy link

@vercel vercel bot commented on 3ba0aed May 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ui – ./

ui-nuxtlabs.vercel.app
ui-git-dev-nuxtlabs.vercel.app
ui.nuxtlabs.com

Please sign in to comment.