Skip to content

Commit

Permalink
fix(Table): display nothing instead of error when key is missing
Browse files Browse the repository at this point in the history
Fixes #1173
  • Loading branch information
benjamincanac committed Jan 2, 2024
1 parent 30e7a3c commit 00d0fd5
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 @@ -267,7 +267,7 @@ export default defineComponent({
}
}
function getRowData (row: Object, rowKey: string | string[], defaultValue: any = 'Failed to get cell value') {
function getRowData (row: Object, rowKey: string | string[], defaultValue: any = '') {
return get(row, rowKey, defaultValue)
}
Expand Down

1 comment on commit 00d0fd5

@vercel
Copy link

@vercel vercel bot commented on 00d0fd5 Jan 2, 2024

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-nuxt-js.vercel.app
ui-git-dev-nuxt-js.vercel.app
ui.nuxt.com

Please sign in to comment.