Skip to content

Commit

Permalink
Refactor item-key property in Sortable component
Browse files Browse the repository at this point in the history
  • Loading branch information
LeaderbotX400 committed Jan 29, 2024
1 parent fa3dff0 commit a956606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/HelloWorld.vue
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ main {
<Sortable
v-if="element.children"
:list="element.children"
:item-key="(item) => item.id"
item-key="id"
:options="options"
@change="logEvent"
@choose="logEvent"
Expand Down

0 comments on commit a956606

Please sign in to comment.