From f79dd5f2e6af8a8c65bc7a18e0d9740156ce1f2f Mon Sep 17 00:00:00 2001 From: AbleKSaju <126228406+AbleKSaju@users.noreply.github.com> Date: Wed, 18 Sep 2024 16:52:29 +0530 Subject: [PATCH] fix: moved shared data to parent component and managed via props --- src/components/POS/ItemsGrid.vue | 76 +++++++------------------------ src/components/POS/ItemsTable.vue | 64 ++------------------------ src/pages/POS/POS.vue | 51 +++++++++++++++++++-- 3 files changed, 70 insertions(+), 121 deletions(-) diff --git a/src/components/POS/ItemsGrid.vue b/src/components/POS/ItemsGrid.vue index 7e8ea5a3..8e392d2b 100644 --- a/src/components/POS/ItemsGrid.vue +++ b/src/components/POS/ItemsGrid.vue @@ -22,9 +22,7 @@ class="border border-gray-300 p-1 flex flex-col text-sm text-center" @click="handleChange(item as POSItem)" > -
+

{{ getExtractedWords(item.name) }} @@ -66,70 +72,22 @@