From 8b1fd91bddd5fa906740b333e5e6907d0a153a18 Mon Sep 17 00:00:00 2001 From: Net <93821485+somnetsak123@users.noreply.github.com> Date: Thu, 20 Jun 2024 10:53:56 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20=E0=B9=81=E0=B8=81=E0=B9=89=20=E0=B8=84?= =?UTF-8?q?=E0=B9=88=E0=B8=B2=E0=B8=AA=E0=B8=A5=E0=B8=B1=E0=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/04_product-service/ProductCardComponent.vue | 4 ++-- src/components/home/PersonCard.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/04_product-service/ProductCardComponent.vue b/src/components/04_product-service/ProductCardComponent.vue index 1cde2872..5c52ebee 100644 --- a/src/components/04_product-service/ProductCardComponent.vue +++ b/src/components/04_product-service/ProductCardComponent.vue @@ -128,13 +128,13 @@ withDefaults( dense size="sm" @click="$emit('toggleStatus', id)" - :model-value="isDisabled" + :model-value="!isDisabled" val="xs" padding="none" >
{{ - isDisabled + !isDisabled ? $t('switchOnLabel') : $t('switchOffLabel') }} diff --git a/src/components/home/PersonCard.vue b/src/components/home/PersonCard.vue index 366c9b2b..2fd034f1 100644 --- a/src/components/home/PersonCard.vue +++ b/src/components/home/PersonCard.vue @@ -129,13 +129,13 @@ defineEmits<{ @click=" $emit('toggleStatus', v.id, v.disabled === false) " - :model-value="v.disabled" + :model-value="!v.disabled" val="xs" padding="none" >
{{ - v.disabled + !v.disabled ? $t('switchOnLabel') : $t('switchOffLabel') }}