Merge pull request #164 from jo-me/fix-search-result-key

Fix item key for horizontal layout
This commit is contained in:
Bastien Wirtz 2020-12-01 18:39:09 -08:00 committed by GitHub
commit a2481f7317
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.name" :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>