From 26b8cd8618111c2c1393adf4165fb7c5390d9d59 Mon Sep 17 00:00:00 2001 From: Net <93821485+somnetsak123@users.noreply.github.com> Date: Fri, 21 Jun 2024 09:20:21 +0700 Subject: [PATCH] =?UTF-8?q?fix=20=E0=B9=81=E0=B8=81=E0=B9=89=20=E0=B9=80?= =?UTF-8?q?=E0=B8=87=E0=B8=B7=E0=B9=88=E0=B8=AD=E0=B8=99=E0=B9=84=E0=B8=82?= =?UTF-8?q?=20=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=81=E0=B8=94=20emit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../04_product-service/ProductCardComponent.vue | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/src/components/04_product-service/ProductCardComponent.vue b/src/components/04_product-service/ProductCardComponent.vue index 5c52ebee..9b949a04 100644 --- a/src/components/04_product-service/ProductCardComponent.vue +++ b/src/components/04_product-service/ProductCardComponent.vue @@ -24,7 +24,7 @@ withDefaults( class="full-width rounded bordered q-pa-sm" @click=" () => { - if (!isDisabled) $emit('onClick'); + $emit('onClick'); } " :class="{ @@ -64,7 +64,7 @@ withDefaults( style="white-space: nowrap" @click=" () => { - if (!isDisabled) $emit('viewCard'); + $emit('viewCard'); } " > @@ -85,9 +85,7 @@ withDefaults( style="white-space: nowrap" @click=" () => { - if (!isDisabled) { - $emit('updateCard'); - } + $emit('updateCard'); } " v-close-popup @@ -107,7 +105,7 @@ withDefaults( clickable @click=" () => { - if (!isDisabled) $emit('deleteCard'); + $emit('deleteCard'); } " v-close-popup @@ -190,9 +188,7 @@ withDefaults(