diff --git a/src/components/04_product-service/ProductCardComponent.vue b/src/components/04_product-service/ProductCardComponent.vue index f2444d4d..8565055e 100644 --- a/src/components/04_product-service/ProductCardComponent.vue +++ b/src/components/04_product-service/ProductCardComponent.vue @@ -1,7 +1,7 @@ @@ -188,20 +201,20 @@ withDefaults( - - + $emit('changeStatus', node)" + /> + + {{ node.status !== 'INACTIVE' ? $t('switchOnLabel') : $t('switchOffLabel') - " - @click.stop="() => $emit('changeStatus', node)" - :model-value="node.status !== 'INACTIVE'" - /> + }} +