diff options
author | jo-me <jochen.mehlhorn@gmail.com> | 2020-11-29 20:43:08 +0100 |
---|---|---|
committer | jo-me <jochen.mehlhorn@gmail.com> | 2020-11-29 20:43:08 +0100 |
commit | e1ecf86ffd4fdca587fd831eef7bc9f9cf1548ce (patch) | |
tree | 5f34c56957b315357a0450a62f42caf34329604e | |
parent | 1b41b4619335c595fbdd5a52be35a9c808c22005 (diff) | |
download | homer-e1ecf86ffd4fdca587fd831eef7bc9f9cf1548ce.tar.gz homer-e1ecf86ffd4fdca587fd831eef7bc9f9cf1548ce.tar.zst homer-e1ecf86ffd4fdca587fd831eef7bc9f9cf1548ce.zip |
Change service iteration key to index
-rw-r--r-- | src/App.vue | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/App.vue b/src/App.vue index d743cdc..31e49f7 100644 --- a/src/App.vue +++ b/src/App.vue | |||
@@ -65,8 +65,8 @@ | |||
65 | {{ group.name }} | 65 | {{ group.name }} |
66 | </h2> | 66 | </h2> |
67 | <Service | 67 | <Service |
68 | v-for="item in group.items" | 68 | v-for="(item, index) in group.items" |
69 | :key="item.url" | 69 | :key="index" |
70 | v-bind:item="item" | 70 | v-bind:item="item" |
71 | :class="['column', `is-${12 / config.columns}`]" | 71 | :class="['column', `is-${12 / config.columns}`]" |
72 | /> | 72 | /> |
@@ -88,9 +88,9 @@ | |||
88 | {{ group.name }} | 88 | {{ group.name }} |
89 | </h2> | 89 | </h2> |
90 | <Service | 90 | <Service |
91 | v-for="item in group.items" | 91 | v-for="(item, index) in group.items" |
92 | :key="index" | ||
92 | v-bind:item="item" | 93 | v-bind:item="item" |
93 | :key="item.url" | ||
94 | /> | 94 | /> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |