forked from extern/homer
Merge pull request #164 from jo-me/fix-search-result-key
Fix item key for horizontal layout
This commit is contained in:
commit
a2481f7317
@ -65,8 +65,8 @@
|
||||
{{ group.name }}
|
||||
</h2>
|
||||
<Service
|
||||
v-for="item in group.items"
|
||||
:key="item.name"
|
||||
v-for="(item, index) in group.items"
|
||||
:key="index"
|
||||
v-bind:item="item"
|
||||
:class="['column', `is-${12 / config.columns}`]"
|
||||
/>
|
||||
@ -88,9 +88,9 @@
|
||||
{{ group.name }}
|
||||
</h2>
|
||||
<Service
|
||||
v-for="item in group.items"
|
||||
v-for="(item, index) in group.items"
|
||||
:key="index"
|
||||
v-bind:item="item"
|
||||
:key="item.url"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user