From 002399d427f11646847904b11b1373204644aee2 Mon Sep 17 00:00:00 2001
From: Mateja <mail@matejamaric.com>
Date: Mon, 15 Mar 2021 22:30:19 +0100
Subject: Use v-bind:key in v-for.

---
 resources/js/components/activities.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'resources/js/components/activities.vue')

diff --git a/resources/js/components/activities.vue b/resources/js/components/activities.vue
index 01e7002..928bae6 100644
--- a/resources/js/components/activities.vue
+++ b/resources/js/components/activities.vue
@@ -16,7 +16,7 @@
                 </tr>
             </thead>
             <tbody>
-              <tr v-for="activity in activities">
+              <tr v-for="(activity, index) in activities" :key="index">
                 <td>{{ activity.operatorCall }}</td>
                 <td>{{ activity.fromTime }}</td>
                 <td>{{ activity.toTime }}</td>
-- 
cgit v1.2.3

