minor vue fix

This commit is contained in:
Avris 2020-09-23 21:34:37 +02:00
parent 26479f97b3
commit fb77498a60
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
</h1>
<div class="d-block d-md-none">
<div class="btn-group-vertical btn-block nav-custom mb-2">
<nuxt-link v-for="link in links" :to="link.link" :class="`btn btn-sm ${isActiveRoute(link) ? 'active' : ''}`">
<nuxt-link v-for="link in links" :key="link.link" :to="link.link" :class="`btn btn-sm ${isActiveRoute(link) ? 'active' : ''}`">
<Icon :v="link.icon"/>
{{ link.textLong || link.text }}
</nuxt-link>
@ -16,7 +16,7 @@
</div>
<div class="d-none d-md-block">
<div class="btn-group btn-block nav-custom mb-2">
<nuxt-link v-for="link in links" :to="link.link" :class="`btn btn-sm ${isActiveRoute(link) ? 'active' : ''}`">
<nuxt-link v-for="link in links" :key="link.link" :to="link.link" :class="`btn btn-sm ${isActiveRoute(link) ? 'active' : ''}`">
<Icon :v="link.icon"/>
{{ link.text }}
</nuxt-link>