CSR-1012 | updated service zip link text computed

This commit is contained in:
Matt Caimi 2023-02-13 09:51:41 -05:00
parent 140d54e3b8
commit dc86629869

View file

@ -80,7 +80,7 @@ export default {
},
computed: {
serviceZipLinkText() {
if (this.modelValue.zipCode.length > 0) {
if (this.modelValue.zipCode && this.modelValue.zipCode.length > 0) {
return this.modelValue.state + ", " + this.modelValue.zipCode;
}
return this.getCmsContent(this.linkWidgetName, "BodyText");