Skip to content

Commit

Permalink
fix(Table): select all rows without select listener (nuxt#652)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sma11X authored and Haythamasalama committed Sep 21, 2023
1 parent 3601465 commit 3b9cc2b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/runtime/components/data/Table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@ export default defineComponent({
return
}
onSelect(row)
// @ts-ignore
attrs.onSelect ? attrs.onSelect(row) : selected.value.push(row)
})
}
Expand Down

0 comments on commit 3b9cc2b

Please sign in to comment.