Fix ID clash

This commit is contained in:
Alicia Sykes 2019-08-22 22:23:15 +01:00
parent fe8930f1b3
commit 3b47a88dff
2 changed files with 3 additions and 3 deletions

View File

@ -6,8 +6,8 @@
<div v-else class="there-are-items"> <div v-else class="there-are-items">
<Item <Item
v-for="item in items" v-for="item in items"
:key="item.id" :key="`${groupId}-${item.id}`"
:id="item.id" :id="`${groupId}-${item.id}`"
:title="item.title" :title="item.title"
:description="item.description" :description="item.description"
:icon="item.icon" :icon="item.icon"

View File

@ -30,7 +30,7 @@
] ]
}, },
{ {
"id": "0", "id": "1",
"name": "Server Management | Hosted", "name": "Server Management | Hosted",
"items": [ "items": [
{ {