Skip to content

Commit

Permalink
fix(vue): fix sortableMove event arguments (#3965)
Browse files Browse the repository at this point in the history
First argument of `emit` should be the event name
  • Loading branch information
Pitouli authored Dec 29, 2021
1 parent 407394b commit 8e716f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vue/components/list.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default {
};
const onSortableMove = (el, listEl) => {
if (elRef.value !== listEl) return;
emit(props, 'sortable:move', el, listEl);
emit('sortable:move', el, listEl);
};
useTab(elRef, emit);
Expand Down

0 comments on commit 8e716f7

Please sign in to comment.