Fix - Use of index as key in a v-for directive to prevent duplicate key errors (#10)
This commit is contained in:
parent
294efef38c
commit
2bb9171e32
|
@ -5,7 +5,7 @@
|
|||
<i class="material-icons">home</i>
|
||||
</router-link>
|
||||
|
||||
<span v-for="link in breadcrumbs" :key="link.name">
|
||||
<span v-for="(link, index) in breadcrumbs" :key="index">
|
||||
<span class="chevron"><i class="material-icons">keyboard_arrow_right</i></span>
|
||||
<router-link :to="link.url">{{ link.name }}</router-link>
|
||||
</span>
|
||||
|
|
Loading…
Reference in New Issue