Skip to content

Commit

Permalink
fix: fixed update:dsData event to emit the sorted data
Browse files Browse the repository at this point in the history
  • Loading branch information
kouts committed Feb 20, 2023
1 parent 6a37b32 commit 63cf64e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dataset.vue
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export default {
emit(
'update:dsData',
props.dsData.filter((_, i) => result.includes(i))
result.map((i) => props.dsData[i])
)
},
{
Expand Down

0 comments on commit 63cf64e

Please sign in to comment.