changeset 3575:818cc2deff98

search: fix index issue
author Thomas Junk <thomas.junk@intevation.de>
date Mon, 03 Jun 2019 16:20:35 +0200
parents d5959f69e903
children 1109a38f7ff1
files client/src/components/Search.vue
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/Search.vue	Mon Jun 03 16:08:34 2019 +0200
+++ b/client/src/components/Search.vue	Mon Jun 03 16:20:35 2019 +0200
@@ -31,8 +31,8 @@
       class="searchresults border-top ui-element bg-white rounded-bottom d-print-none position-absolute"
     >
       <div
-        v-for="entry of searchResults"
-        :key="entry.name"
+        v-for="(entry, index) of searchResults"
+        :key="index"
         class="border-top text-left"
       >
         <a