Skip to content

Commit

Permalink
Improved: condition for checking whether telecom number is updated or…
Browse files Browse the repository at this point in the history
… not (#154)
  • Loading branch information
amansinghbais committed Mar 28, 2024
1 parent fa43ead commit c056142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/FacilityAddressModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit c056142

Please sign in to comment.