mirror of https://github.com/bastienwirtz/homer
Change service iteration key to index
parent
1b41b46193
commit
e1ecf86ffd
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue