From 331a8da55352c736f08339ae6ca0d9e0eb690058 Mon Sep 17 00:00:00 2001
From: Vidhu Kant Sharma <vidhukant@vidhukant.com>
Date: Mon, 4 Dec 2023 15:26:36 +0530
Subject: added table to show items of an invoice

---
 src/components/items_table.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/components/items_table.vue')

diff --git a/src/components/items_table.vue b/src/components/items_table.vue
index 187ee0f..e9f103e 100644
--- a/src/components/items_table.vue
+++ b/src/components/items_table.vue
@@ -92,7 +92,7 @@ onMounted(() => {
     </thead>
 
     <tbody>
-      <tr v-for="(item, index) in allItems">
+      <tr v-for="(item, index) in allItems" :key="item['id']">
         <td scope="row">{{ index + 1 }}</td>
         <td>{{ item.Name }}</td>
         <td>{{ item.Description }}</td>
-- 
cgit v1.2.3

