]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
Change service iteration key to index 164/head
authorjo-me <jochen.mehlhorn@gmail.com>
Sun, 29 Nov 2020 19:43:08 +0000 (20:43 +0100)
committerjo-me <jochen.mehlhorn@gmail.com>
Sun, 29 Nov 2020 19:43:08 +0000 (20:43 +0100)
src/App.vue

index d743cdc7d0b59bacb7219a9024210c9be2a16f49..31e49f705338da76ef074db6471b172a83c244cf 100644 (file)
@@ -65,8 +65,8 @@
                 {{ group.name }}
               </h2>
               <Service
-                v-for="item in group.items"
-                :key="item.url"
+                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>