From 59f2555facaa20df174a91982f75dd3dd2201632 Mon Sep 17 00:00:00 2001 From: Matt Caimi Date: Mon, 6 Mar 2023 15:32:11 -0500 Subject: [PATCH 1/3] CSR-1012 loading spinner and removed updated-service-zip-code event --- src/digital-components/modal/modal.vue | 3 ++- .../mobile-location-modal-questions.vue | 8 ++++---- src/layouts/service-location/service-location.vue | 1 - .../service-zip-modal-question.spec.js | 1 + .../service-zip-modal-question.vue | 5 +++++ 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/digital-components/modal/modal.vue b/src/digital-components/modal/modal.vue index 0034b5155..a18881796 100644 --- a/src/digital-components/modal/modal.vue +++ b/src/digital-components/modal/modal.vue @@ -78,8 +78,9 @@ export default { const validationResult = await this.form.validate(); if (validationResult.valid) { this.$emit("footer-button-event"); + } else { + this.resetButtonStyle(); } - this.resetButtonStyle(); }, resetButtonStyle() { this.$refs.buttonMain.resetButtonStyle(); diff --git a/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue b/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue index 0aa64594d..8383ba18d 100644 --- a/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue +++ b/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue @@ -94,13 +94,13 @@ export default { }, mobileLocationLinkText() { if ( - this.addressModel.streetAddress !== null && + this.addressModel.streetAddress && this.addressModel.streetAddress !== "" && - this.addressModel.city !== null && + this.addressModel.city && this.addressModel.city !== "" && - this.addressModel.state !== null && + this.addressModel.state && this.addressModel.state !== "" && - this.addressModel.zipCode !== null && + this.addressModel.zipCode && this.addressModel.zipCode !== "" ) { return `${this.addressModel.streetAddress}\n${this.addressModel.city}, ${this.addressModel.state} ${this.addressModel.zipCode}`; diff --git a/src/layouts/service-location/service-location.vue b/src/layouts/service-location/service-location.vue index 777cbde74..e321df8af 100644 --- a/src/layouts/service-location/service-location.vue +++ b/src/layouts/service-location/service-location.vue @@ -6,7 +6,6 @@ diff --git a/src/layouts/service-location/service-zip-modal-question/service-zip-modal-question.spec.js b/src/layouts/service-location/service-zip-modal-question/service-zip-modal-question.spec.js index a98b4f89d..d8ccde1d9 100644 --- a/src/layouts/service-location/service-zip-modal-question/service-zip-modal-question.spec.js +++ b/src/layouts/service-location/service-zip-modal-question/service-zip-modal-question.spec.js @@ -12,6 +12,7 @@ jest.mock("@/digital-components/textbox-question/textbox-question", () => ({ jest.mock("@/digital-components/modal/modal", () => ({ methods: { closeModal: jest.fn(), + resetButtonStyle: jest.fn(), }, })); 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 f19456171..6f73c8006 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 @@ -116,6 +116,10 @@ export default { this.$refs[this.modalName].closeModal(); }, + resetModalButtonStyle() { + this.$refs[this.modalName].resetButtonStyle(); + }, + onInputIdAssigned(inputId) { this.serviceZipCodeTextInputId = inputId; }, @@ -134,6 +138,7 @@ export default { this.resetAlerts(); const zipCodeData = await this.getZipCodeData(this.internalModel.zipCode); + this.resetModalButtonStyle(); if (!zipCodeData.isValid) { this.displayInvalidZipAlert = true; From 6a125d8d78ad7609fe786255c16dcb8449494c31 Mon Sep 17 00:00:00 2001 From: CarlNation Date: Tue, 7 Mar 2023 09:57:24 -0500 Subject: [PATCH 2/3] CSR-785 Rename accountNumber to parentAccountNumber and relocate to Payment object --- src/constants/store-actions.js | 2 +- .../navigation-helper.spec.js | 8 +++---- .../heritage-integration/order-helper.js | 6 ++--- .../heritage-integration/order-helper.spec.js | 10 ++++---- src/helpers/unit-test-helper.js | 4 ++-- src/layouts/quote/quote.spec.js | 14 ++++++----- src/layouts/quote/quote.vue | 7 ++++-- src/store/index.js | 23 ++++++++++--------- src/store/store.spec.js | 4 ++-- 9 files changed, 42 insertions(+), 36 deletions(-) diff --git a/src/constants/store-actions.js b/src/constants/store-actions.js index 9792b6685..7e3259057 100644 --- a/src/constants/store-actions.js +++ b/src/constants/store-actions.js @@ -67,7 +67,7 @@ const storeActions = { SAVE_MOLDING_QUESTION_ANSWERS: "saveMoldingQuestionAnswers", SAVE_CAPABILITY_QUESTION_ANSWERS: "saveCapabilityQuestionAnswers", SAVE_PAYMENT_TYPE: "savePaymentType", - SAVE_ACCOUNT_NUMBER: "saveAccountNumber", + SAVE_PARENT_ACCOUNT_NUMBER: "saveParentAccountNumber", SAVE_SUPPORTING_ITEMS: "saveSupportingItems", SAVE_VAPS: "saveVaps", }; diff --git a/src/helpers/heritage-integration/navigation-helper.spec.js b/src/helpers/heritage-integration/navigation-helper.spec.js index f9b3b1017..67a5055c8 100644 --- a/src/helpers/heritage-integration/navigation-helper.spec.js +++ b/src/helpers/heritage-integration/navigation-helper.spec.js @@ -350,7 +350,7 @@ describe("navigateToHeritageFunnel", () => { const mockReferralNumber = "2"; const mockCorrelationId = "55"; const mockReferralDate = "2022"; - const mockAccountNumber = "167132"; + const mockParentAccountNumber = "167132"; const mockSavedSessionId = "xxx-xxx-xxx"; const mockCrmCustomerId = "xxx-xxx-xxx"; @@ -358,7 +358,7 @@ describe("navigateToHeritageFunnel", () => { mockReferralNumber, mockCorrelationId, mockReferralDate, - mockAccountNumber, + mockParentAccountNumber, mockSavedSessionId, mockCrmCustomerId ); @@ -395,7 +395,7 @@ describe("navigateToHeritageFunnel", () => { const mockReferralNumber = "2"; const mockCorrelationId = "55"; const mockReferralDate = "2022"; - const mockAccountNumber = "167132"; + const mockParentAccountNumber = "167132"; const mockSavedSessionId = "xxx-xxx-xxx"; const mockCrmCustomerId = "xxx-xxx-xxx"; @@ -403,7 +403,7 @@ describe("navigateToHeritageFunnel", () => { mockReferralNumber, mockCorrelationId, mockReferralDate, - mockAccountNumber, + mockParentAccountNumber, mockSavedSessionId, mockCrmCustomerId ); diff --git a/src/helpers/heritage-integration/order-helper.js b/src/helpers/heritage-integration/order-helper.js index 7cf3cc12b..010c39ec9 100644 --- a/src/helpers/heritage-integration/order-helper.js +++ b/src/helpers/heritage-integration/order-helper.js @@ -81,7 +81,7 @@ async function loadSession( savedSessionId, referralNumber, referralDate, - accountNumber, + parentAccountNumber, referralCorrelationId, isConceptInsurance ) { @@ -94,8 +94,8 @@ async function loadSession( savedSessionId: savedSessionId?.toString(), referralNumber, referralDate, - accountNumber, referralCorrelationId, + parentAccountNumber, isConceptInsurance, }, false @@ -116,7 +116,7 @@ async function saveSessionHelper() { referralNumber: savedSessionInfo.data.referralNumber?.toString(), referralCorrelationId: savedSessionInfo.data.referralCorrelationId, referralDate: savedSessionInfo.data.referralDate, - accountNumber: savedSessionInfo.data.accountNumber?.toString(), + parentAccountNumber: savedSessionInfo.data.parentAccountNumber?.toString(), savedSessionId: savedSessionInfo.data.savedSessionId, crmCustomerId: savedSessionInfo.data.crmCustomerId?.toString(), eon: savedSessionInfo.data.eon, diff --git a/src/helpers/heritage-integration/order-helper.spec.js b/src/helpers/heritage-integration/order-helper.spec.js index 97b162560..fab4a1532 100644 --- a/src/helpers/heritage-integration/order-helper.spec.js +++ b/src/helpers/heritage-integration/order-helper.spec.js @@ -142,7 +142,7 @@ describe("saveSession", () => { const mockReferralNumber = "2"; const mockCorrelationId = "55"; const mockReferralDate = "2022"; - const mockAccountNumber = "167132"; + const mockParentAccountNumber = "167132"; const mockSavedSessionId = "xxx-xxx-xxx"; const mockCrmCustomerId = "xxx-xxx-xxx"; @@ -150,7 +150,7 @@ describe("saveSession", () => { mockReferralNumber, mockCorrelationId, mockReferralDate, - mockAccountNumber, + mockParentAccountNumber, mockSavedSessionId, mockCrmCustomerId ); @@ -182,7 +182,7 @@ describe("saveSession", () => { referralNumber: mockReferralNumber, referralDate: mockReferralDate, referralCorrelationId: mockCorrelationId, - accountNumber: mockAccountNumber, + parentAccountNumber: mockParentAccountNumber, savedSessionId: mockSavedSessionId, crmCustomerId: mockCrmCustomerId, }, @@ -195,7 +195,7 @@ describe("saveSession", () => { const mockReferralNumber = 1566818; const mockReferralDate = "2022-03-15T10:56:24.597"; const mockReferralCorrelationId = "404d2b04-f86e-45c3-b373-127b6217b060"; - const mockAccountNumber = "167132"; + const mockParentAccountNumber = "167132"; const mockSavedSessionId = "xxx-xxx-xxx"; const mockCrmCustomerId = "xxx-xxx-xxx"; @@ -203,7 +203,7 @@ describe("saveSession", () => { mockReferralNumber, mockReferralCorrelationId, mockReferralDate, - mockAccountNumber, + mockParentAccountNumber, mockSavedSessionId, mockCrmCustomerId ); diff --git a/src/helpers/unit-test-helper.js b/src/helpers/unit-test-helper.js index c54bbf01a..9de0cf5a6 100644 --- a/src/helpers/unit-test-helper.js +++ b/src/helpers/unit-test-helper.js @@ -104,7 +104,7 @@ export function getMockOrderInfo( mockReferralNumber, mockCorrelationId, mockReferralDate, - accountNumber = "0", + parentAccountNumber = "0", savedSessionId, crmCustomerId ) { @@ -112,7 +112,7 @@ export function getMockOrderInfo( referralNumber: mockReferralNumber, referralCorrelationId: mockCorrelationId, referralDate: mockReferralDate, - accountNumber: accountNumber, + parentAccountNumber: parentAccountNumber, savedSessionId: savedSessionId, crmCustomerId: crmCustomerId, }; diff --git a/src/layouts/quote/quote.spec.js b/src/layouts/quote/quote.spec.js index edfdbc8b0..3d0f5baba 100644 --- a/src/layouts/quote/quote.spec.js +++ b/src/layouts/quote/quote.spec.js @@ -63,11 +63,11 @@ mockStoreActionResults[storeActions.GET_SUPPORTING_ITEMS] = Promise.resolve([ store.getters = { order: { - accountNumber: applicationConfig.CASH_ACCOUNT_NUMBER, - }, - payment: { - insuranceCoverage: {}, - isInsurance: false, + payment: { + insuranceCoverage: {}, + isInsurance: false, + parentAccountNumber: applicationConfig.CASH_ACCOUNT_NUMBER, + }, }, }; @@ -75,7 +75,9 @@ afterEach(() => { // reset store after each test store.getters = { order: { - accountNumber: applicationConfig.CASH_ACCOUNT_NUMBER, + payment: { + parentAccountNumber: applicationConfig.CASH_ACCOUNT_NUMBER, + }, }, payment: { insuranceCoverage: {}, diff --git a/src/layouts/quote/quote.vue b/src/layouts/quote/quote.vue index 52b8f2687..ca773d56f 100644 --- a/src/layouts/quote/quote.vue +++ b/src/layouts/quote/quote.vue @@ -178,13 +178,16 @@ export default { ); if (!this.isInsuranceSelected) { this.dispatchStoreAction( - this.storeActions.SAVE_ACCOUNT_NUMBER, + this.storeActions.SAVE_PARENT_ACCOUNT_NUMBER, applicationConfig.CASH_ACCOUNT_NUMBER, false ); } - if (this.$store.getters.order.accountNumber != applicationConfig.CASH_ACCOUNT_NUMBER) { + if ( + this.$store.getters.order.payment.parentAccountNumber != + applicationConfig.CASH_ACCOUNT_NUMBER + ) { this.supportingItems = this.filterOutFees(this.supportingItems); } if (this.pricedGlassParts.length > 0) { diff --git a/src/store/index.js b/src/store/index.js index 1fee4846f..551b921a4 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -67,11 +67,11 @@ const getDefaultState = () => { isVerified: null, coverageStatus: null, }, + parentAccountNumber: 0, }, referralNumber: null, referralDate: null, referralCorrelationId: null, - accountNumber: 0, eon: null, }, applicationUser: { @@ -166,7 +166,7 @@ export const mutations = { state.order.referralDate = referralDate; }, updateParentAcctNumber(state, parentAcctNumber) { - state.order.accountNumber = parentAcctNumber; + state.order.payment.parentAccountNumber = parentAcctNumber; }, updateEON(state, eon) { state.order.eon = eon; @@ -355,7 +355,8 @@ export const mutations = { state.order.lineItems.supportingItems = sessionInformation.order.lineItems.supportingItems; state.order.lineItems.vaps = sessionInformation.order.lineItems.vaps; state.order.lineItems.serverData = sessionInformation.order.lineItems.serverData; - state.order.accountNumber = sessionInformation.order.accountNumber; + state.order.payment.parentAccountNumber = + sessionInformation.order.payment.parentAccountNumber; state.order.providerNumber = sessionInformation.order.providerNumber; (state.order.serviceLocation.address = sessionInformation.order.serviceLocation.streetAddress), @@ -425,7 +426,7 @@ export const getters = { funnelServiceCity: state.order.serviceLocation.city, funnelServiceState: state.order.serviceLocation.state, funnelServiceZipCode: state.order.serviceLocation.zipCode, - funnelParentAccountNumber: state.order.accountNumber, + funnelParentAccountNumber: state.order.payment.parentAccountNumber, funnelIsCoverageVerified: state.order.payment.insuranceCoverage.isVerified, funnelHasRecalibrationPart: getHasRecalibrationPart(state), funnelSelectedMultiGlass: state.order.damage.glassToReplace?.length > 1, @@ -677,7 +678,7 @@ export const actions = { referralDate, referralCorrelationId, eon, - accountNumber, + parentAccountNumber, savedSessionId, crmCustomerId, } @@ -686,7 +687,7 @@ export const actions = { context.commit(storeMutations.UPDATE_REFERRAL_DATE, referralDate); context.commit(storeMutations.UPDATE_REFERRAL_CORRELATION_ID, referralCorrelationId); context.commit(storeMutations.UPDATE_EON, eon); - context.commit(storeMutations.UPDATE_PARENT_ACCT_NUMBER, accountNumber); + context.commit(storeMutations.UPDATE_PARENT_ACCT_NUMBER, parentAccountNumber); context.commit(storeMutations.UPDATE_SAVED_SESSION_ID, savedSessionId); context.commit(storeMutations.UPDATE_CRM_CUSTOMER_ID, crmCustomerId); }, @@ -1022,8 +1023,8 @@ export const actions = { isVerified: order.payment.insuranceCoverage.isVerified ?? false, }, isInsurance: order.payment.isInsurance ?? false, + parentAccountNumber: order.payment.parentAccountNumber, }, - accountNumber: order.accountNumber, providerNumber: "", serviceLocation: { streetAddress: order.serviceLocation.address, @@ -1048,8 +1049,8 @@ export const actions = { savedSessionId, referralNumber, referralDate, + parentAccountNumber, referralCorrelationId, - accountNumber, isConceptInsurance, } ) { @@ -1063,7 +1064,7 @@ export const actions = { savedSessionId: savedSessionId?.toString(), referralNumber: referralNumber?.toString(), referralDate: referralDate?.toString(), - accountNumber: accountNumber, + parentAccountNumber: parentAccountNumber, referralCorrelationId: referralCorrelationId, }, }) @@ -1413,8 +1414,8 @@ export const actions = { savePaymentType(context, isInsurance) { context.commit(storeMutations.UPDATE_IS_INSURANCE, isInsurance); }, - saveAccountNumber(context, accountNumber) { - context.commit(storeMutations.UPDATE_PARENT_ACCT_NUMBER, accountNumber); + saveParentAccountNumber(context, parentAccountNumber) { + context.commit(storeMutations.UPDATE_PARENT_ACCT_NUMBER, parentAccountNumber); }, saveSupportingItems(context, supportingItems) { context.commit(storeMutations.UPDATE_SUPPORTING_ITEMS, supportingItems); diff --git a/src/store/store.spec.js b/src/store/store.spec.js index 06f0cb746..8eb947e73 100644 --- a/src/store/store.spec.js +++ b/src/store/store.spec.js @@ -235,9 +235,9 @@ describe("Mutations", () => { isVerified: false, }, isInsurance: false, + parentAccountNumber: "123456789", }, parts: [], - accountNumber: "123456789", insuranceInfo: {}, serviceLocation: {}, customer: {}, @@ -761,7 +761,7 @@ describe("Actions", () => { referralNumber: "123", referralDate: new Date().toUTCString(), referralCorrelationId: "xxx-xxx-xxx", - accountNumber: "167132", + parentAccountNumber: "167132", savedSessionId: "xxx-xxx-xxx", crmCustomerId: "xxx-xxx-xxx", }); From 1f9a7d1def42b3adc5c0bbb60f267293d367ce6b Mon Sep 17 00:00:00 2001 From: Matt Caimi Date: Tue, 7 Mar 2023 13:56:07 -0500 Subject: [PATCH 3/3] CSR-1012 remove isServiceable from service-location --- .../service-location/service-location.spec.js | 7 ------- src/layouts/service-location/service-location.vue | 6 ------ .../service-zip-modal-question.spec.js | 12 +----------- .../service-zip-modal-question.vue | 3 --- 4 files changed, 1 insertion(+), 27 deletions(-) diff --git a/src/layouts/service-location/service-location.spec.js b/src/layouts/service-location/service-location.spec.js index 8f4572c95..fb92fbf58 100644 --- a/src/layouts/service-location/service-location.spec.js +++ b/src/layouts/service-location/service-location.spec.js @@ -65,7 +65,6 @@ const mockMixin = { if (zip === "43235" || zip === "55555") { return Promise.resolve({ containsMilitaryBase: false, - isServiceable: true, isValid: true, state: "OH", zipCodeCtu: "01820", @@ -74,7 +73,6 @@ const mockMixin = { return Promise.resolve({ containsMilitaryBase: false, - isServiceable: false, isValid: false, state: null, zipCodeCtu: null, @@ -130,7 +128,6 @@ beforeEach(() => { serviceLocation: { zipCode: "43235", state: "OH", - isServiceable: true, }, }, payment: { @@ -226,7 +223,6 @@ describe("service-location.vue", () => { const newServiceZipCodeQuestion = { zipCode: "61606", state: "IL", - isServiceable: true, }; const serviceZipCodeComponent = wrapper.findComponent({ @@ -249,7 +245,6 @@ describe("service-location.vue", () => { const newServiceZipCodeQuestion = { zipCode: "61606", state: "IL", - isServiceable: true, }; const mobileLocationQuestions = { @@ -369,13 +364,11 @@ describe("service-location.vue", () => { wrapper.vm.serviceZipCodeQuestion = { zipCode: "61606", state: "IL", - isServiceable: true, }; const newServiceZipCodeInfo = { state: "OH", zipCode: "43081", - isServiceable: true, }; // Act diff --git a/src/layouts/service-location/service-location.vue b/src/layouts/service-location/service-location.vue index e321df8af..6950b23c1 100644 --- a/src/layouts/service-location/service-location.vue +++ b/src/layouts/service-location/service-location.vue @@ -48,7 +48,6 @@ export default { city: this.getServiceCityFromStore(), state: this.getServiceStateFromStore(), zipCode: this.getServiceZipCodeFromStore(), - isServiceable: false, isZipServiceableMobile: null, isZipServiceableInShop: null, mobileFeePart: null, @@ -87,7 +86,6 @@ export default { return { state: this.state, zipCode: this.zipCode, - isServiceable: this.isServiceable, }; }, set: function (newValue) { @@ -97,7 +95,6 @@ export default { this.state = newValue.state; this.zipCode = newValue.zipCode; - this.isServiceable = newValue.isServiceable; }, }, mobileLocationQuestions: { @@ -151,9 +148,6 @@ export default { getServiceZipCodeFromStore() { return store.getters.order.serviceLocation.zipCode; }, - getIsServiceableFromStore() { - return store.getters.order.serviceLocation.isServiceable; - }, resetMobileFeePart(serviceZipCode) { getPricedMobileFeePart(serviceZipCode).then((pricedMobileFeePart) => { this.mobileFeePart = pricedMobileFeePart; diff --git a/src/layouts/service-location/service-zip-modal-question/service-zip-modal-question.spec.js b/src/layouts/service-location/service-zip-modal-question/service-zip-modal-question.spec.js index d8ccde1d9..becbd9ebd 100644 --- a/src/layouts/service-location/service-zip-modal-question/service-zip-modal-question.spec.js +++ b/src/layouts/service-location/service-zip-modal-question/service-zip-modal-question.spec.js @@ -45,7 +45,6 @@ const mockMixin = { if (zip === "43235") { return { containsMilitaryBase: false, - isServiceable: true, isValid: true, state: "OH", zipCodeCtu: "01820", @@ -55,7 +54,6 @@ const mockMixin = { if (zip === "61606") { return { containsMilitaryBase: false, - isServiceable: true, isValid: true, state: "IL", zipCodeCtu: "01526", @@ -64,7 +62,6 @@ const mockMixin = { return { containsMilitaryBase: false, - isServiceable: false, isValid: false, state: null, zipCodeCtu: null, @@ -78,7 +75,6 @@ describe("service-zip-modal-question.vue", () => { let serviceZipCodeQuestion = { state: "", zipCode: "", - isServiceable: undefined, }; // Arrange @@ -101,7 +97,6 @@ describe("service-zip-modal-question.vue", () => { let serviceZipCodeQuestion = { state: "OH", zipCode: "43235", - isServiceable: true, }; const wrapper = mount(serviceZipModalQuestion, { @@ -123,7 +118,6 @@ describe("service-zip-modal-question.vue", () => { let serviceZipCodeQuestion = { state: "IL", zipCode: "61606", - isServiceable: true, }; const zip = "43235"; @@ -142,7 +136,7 @@ describe("service-zip-modal-question.vue", () => { wrapper.vm.internalModel.zipCode = zip; await wrapper.vm.setZipCode(); - let expectedEmit = [[{ isServiceable: true, state: "OH", zipCode: "43235" }]]; + let expectedEmit = [[{ state: "OH", zipCode: "43235" }]]; // Assert expect(wrapper.emitted("update:modelValue")).toEqual(expectedEmit); @@ -153,7 +147,6 @@ describe("service-zip-modal-question.vue", () => { let serviceZipCodeQuestion = { state: "IL", zipCode: "61606", - isServiceable: true, }; const zip = ""; @@ -181,7 +174,6 @@ describe("service-zip-modal-question.vue", () => { let serviceZipCodeQuestion = { state: "IL", zipCode: "61606", - isServiceable: true, }; const zip = "11111"; @@ -209,7 +201,6 @@ describe("service-zip-modal-question.vue", () => { let serviceZipCodeQuestion = { state: "IL", zipCode: "61606", - isServiceable: true, }; const zip = ""; @@ -238,7 +229,6 @@ describe("service-zip-modal-question.vue", () => { let serviceZipCodeQuestion = { state: "IL", zipCode: "61606", - isServiceable: true, }; const zip = "123"; 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 6f73c8006..4f4c98035 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 @@ -54,7 +54,6 @@ export default { default: () => ({ state: "", zipCode: "", - isServiceable: null, }), }, linkWidgetName: String, @@ -104,7 +103,6 @@ export default { return { state: modelToCopy.state, zipCode: modelToCopy.zipCode, - isServiceable: modelToCopy.isServiceable, }; }, @@ -145,7 +143,6 @@ export default { this.focusOnZipInput(); } else { this.internalModel.state = zipCodeData.state; - this.internalModel.isServiceable = zipCodeData.isServiceable; // Update the page level model this.$emit("update:modelValue", this.internalModel);