Skip to content

Commit 3b83af6

Browse files
authored
Merge pull request #110 from kouts/dev-next
fix: fixed update:dsData event to emit the sorted data
2 parents 6a37b32 + 63cf64e commit 3b83af6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Dataset.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export default {
161161
162162
emit(
163163
'update:dsData',
164-
props.dsData.filter((_, i) => result.includes(i))
164+
result.map((i) => props.dsData[i])
165165
)
166166
},
167167
{

0 commit comments

Comments
 (0)