Skip to content

Commit

Permalink
Reverted: condition check for whether telecomNumber updated or not (#154
Browse files Browse the repository at this point in the history
)
  • Loading branch information
amansinghbais committed Mar 29, 2024
1 parent c056142 commit 93a4e95
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 JSON.stringify(this.telecomNumberValue) !== JSON.stringify(this.telecomNumber)
return this.telecomNumberValue.contactNumber && JSON.stringify(this.telecomNumberValue) !== JSON.stringify(this.telecomNumber)
}
},
setup() {
Expand Down

0 comments on commit 93a4e95

Please sign in to comment.