From 3ede256dc554c7739e9cb7106f0f27d31063d48d Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Mon, 23 Sep 2024 18:30:14 +0000 Subject: [PATCH] feat: change label because its more natural --- src/components/common/VnLocation.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/common/VnLocation.vue b/src/components/common/VnLocation.vue index b6cbfbafd..e5ed14a40 100644 --- a/src/components/common/VnLocation.vue +++ b/src/components/common/VnLocation.vue @@ -14,11 +14,11 @@ const props = defineProps({ }); const modelValue = ref( props.location - ? `${props.location?.postcode} - ${props.location?.city}(${props.location?.province?.name}), ${props.location?.country?.name}` + ? `${props.location?.postcode}, ${props.location?.city}(${props.location?.province?.name}), ${props.location?.country?.name}` : null ); function showLabel(data) { - return `${data.code} - ${data.town}(${data.province}), ${data.country}`; + return `${data.code}, ${data.town}(${data.province}), ${data.country}`; } const handleModelValue = (data) => { emit('update:model-value', data);