Change service iteration key to index

pull/164/head
jo-me 2020-11-29 20:43:08 +01:00
parent 1b41b46193
commit e1ecf86ffd
1 changed files with 4 additions and 4 deletions

View File

@ -65,8 +65,8 @@
{{ group.name }} {{ group.name }}
</h2> </h2>
<Service <Service
v-for="item in group.items" v-for="(item, index) in group.items"
:key="item.url" :key="index"
v-bind:item="item" v-bind:item="item"
:class="['column', `is-${12 / config.columns}`]" :class="['column', `is-${12 / config.columns}`]"
/> />
@ -88,9 +88,9 @@
{{ group.name }} {{ group.name }}
</h2> </h2>
<Service <Service
v-for="item in group.items" v-for="(item, index) in group.items"
:key="index"
v-bind:item="item" v-bind:item="item"
:key="item.url"
/> />
</div> </div>
</div> </div>