From bec50d6eeda160de375cd1e1e10f21dc4b4fdff2 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Fri, 27 Sep 2024 19:54:01 +0200 Subject: [PATCH] perf: refs #7679 #7679 comments --- src/components/CreateNewPostcodeForm.vue | 1 - src/components/VnSelectProvince.vue | 1 - 2 files changed, 2 deletions(-) diff --git a/src/components/CreateNewPostcodeForm.vue b/src/components/CreateNewPostcodeForm.vue index 664016325..dc8027989 100644 --- a/src/components/CreateNewPostcodeForm.vue +++ b/src/components/CreateNewPostcodeForm.vue @@ -70,7 +70,6 @@ async function setProvince(id, data) { data.countryFk = newProvince.countryFk; } -// Watchers to update filters based on country and province changes watch( () => [postcodeFormData.countryFk], async (newCountryFk) => { diff --git a/src/components/VnSelectProvince.vue b/src/components/VnSelectProvince.vue index e6666330a..d89827821 100644 --- a/src/components/VnSelectProvince.vue +++ b/src/components/VnSelectProvince.vue @@ -13,7 +13,6 @@ watch(provinceFk, async () => await provincesFetchDataRef.value.fetch()); const $props = defineProps({ countryFk: { type: Number, - required: false, default: null, }, });