Skip to content

Commit

Permalink
fix: potential duplicate iteration keys at dropdown (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
luisDanielRoviraContreras authored and ulivz committed Apr 25, 2018
1 parent 65b265d commit 1417a35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/default-theme/DropdownLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<ul class="nav-dropdown" v-show="open">
<li
class="dropdown-item"
v-for="subItem in item.items"
:key="subItem.link">
v-for="(subItem, index) in item.items"
:key="subItem.link || index">
<h4 v-if="subItem.type === 'links'">{{ subItem.text }}</h4>
<ul class="dropdown-subitem-wrapper" v-if="subItem.type === 'links'">
<li
Expand Down

0 comments on commit 1417a35

Please sign in to comment.