Skip to content

Commit

Permalink
Make the tree key unique (#5989)
Browse files Browse the repository at this point in the history
  • Loading branch information
shefalijoshi committed Nov 16, 2022
1 parent adce5ca commit 18c3de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/layout/mct-tree.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<div :style="childrenHeightStyles">
<tree-item
v-for="(treeItem, index) in visibleItems"
:key="treeItem.navigationPath"
:key="`${treeItem.navigationPath}-${index}`"
:node="treeItem"
:is-selector-tree="isSelectorTree"
:selected-item="selectedItem"
Expand Down

0 comments on commit 18c3de5

Please sign in to comment.