diff --git a/src/layouts/service-location/service-location.vue b/src/layouts/service-location/service-location.vue index 6baac0029..396906a25 100644 --- a/src/layouts/service-location/service-location.vue +++ b/src/layouts/service-location/service-location.vue @@ -95,12 +95,11 @@ export default { }, methods: { arePagePrerequisitesValid() { - return true; - // ( - // store.getters.lineItems.supportingItems !== null && - // store.getters.order.serviceLocation.zipCode !== null && - // store.getters.payment.isInsurance !== null - // ); + return ( + store.getters.lineItems.supportingItems !== null && + store.getters.order.serviceLocation.zipCode !== null && + store.getters.payment.isInsurance !== null + ); }, setData(mobileFee) { if (mobileFee) { diff --git a/src/layouts/service-location/service-zip-modal-question/service-zip-modal-question.vue b/src/layouts/service-location/service-zip-modal-question/service-zip-modal-question.vue index aabab3be3..56af14db3 100644 --- a/src/layouts/service-location/service-zip-modal-question/service-zip-modal-question.vue +++ b/src/layouts/service-location/service-zip-modal-question/service-zip-modal-question.vue @@ -60,13 +60,16 @@ export default { linkWidgetName: String, modalWidgetName: String, }, + setup() { + const textboxQuestionWidgetName = "ServiceZipQuestionWidget"; + const alertInvalidZipWidgetName = "AlertInvalidZipWidget"; + + return { + textboxQuestionWidgetName, + alertInvalidZipWidgetName, + }; + }, computed: { - textboxQuestionWidgetName() { - return "ServiceZipQuestionWidget"; - }, - alertInvalidZipWidgetName() { - return "AlertInvalidZipWidget"; - }, serviceZipLinkText() { if (this.modelValue.zipCode && this.modelValue.zipCode.length > 0) { return this.modelValue.state + ", " + this.modelValue.zipCode;