Skip to content

Commit

Permalink
Merge pull request #164 from jo-me/fix-search-result-key
Browse files Browse the repository at this point in the history
Fix item key for horizontal layout
  • Loading branch information
bastienwirtz authored Dec 2, 2020
2 parents a2e2822 + e1ecf86 commit a2481f7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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}`]"
/>
Expand All @@ -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>
Expand Down

0 comments on commit a2481f7

Please sign in to comment.