From c056142d8f42aa6a5ade4fc11a17b5a41af93a9a Mon Sep 17 00:00:00 2001 From: amansinghbais Date: Thu, 28 Mar 2024 11:10:10 +0530 Subject: [PATCH] Improved: condition for checking whether telecom number is updated or not (#154) --- src/components/FacilityAddressModal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/FacilityAddressModal.vue b/src/components/FacilityAddressModal.vue index 516a7db7..b64906b4 100644 --- a/src/components/FacilityAddressModal.vue +++ b/src/components/FacilityAddressModal.vue @@ -234,7 +234,7 @@ export default defineComponent({ : true }, isTelecomNumberUpdated() { - return this.telecomNumberValue.contactNumber && JSON.stringify(this.telecomNumberValue) !== JSON.stringify(this.telecomNumber) + return JSON.stringify(this.telecomNumberValue) !== JSON.stringify(this.telecomNumber) } }, setup() {