From cd192f0ad23424bf51f64c4ffe12c709bbc82841 Mon Sep 17 00:00:00 2001 From: Scott Kiener Date: Thu, 3 Nov 2022 08:45:33 -0400 Subject: [PATCH] CSR-731 | Merge issues --- src/store/index.js | 43 ------------------------------------------- 1 file changed, 43 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index 622c97d38..34ec8a8a9 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -405,49 +405,6 @@ export const getters = { applicationUser: (state) => state.applicationUser, order: (state) => state.order, payment: (state) => state.order.payment, - experimentOrder: (state) => { - return { - funnelVehicleYear: state.order.vehicle.year, - funnelVehicleMake: state.order.vehicle.make, - funnelVehicleModel: state.order.vehicle.model, - funnelVehicleStyle: state.order.vehicle.style, - funnelIsRepair: state.order.damage.isRepair, - funnelNumberOfChips: state.order.damage.numberOfChips, - funnelCarId: state.order.vehicle.carId, - funnelServiceCity: state.order.serviceLocation.city, - funnelServiceState: state.order.serviceLocation.state, - funnelServiceZipCode: state.order.serviceLocation.zipCode, - funnelParentAccountNumber: state.order.accountNumber, - funnelIsCoverageVerified: state.order.payment.insuranceCoverage.isVerified, - funnelHasRecalibrationPart: getHasRecalibrationPart(state), - funnelSelectedMultiGlass: state.order.damage.glassToReplace?.length > 1, - funnelSelectedWindshieldGlass: getNonFalseValuesOfPropertyInArrayOfObjects( - state.order.damage.glassToReplace, - "glassLocation" - ).includes(damageLocationsSelected.WINDSHIELD), - funnelSelectedBackGlass: getNonFalseValuesOfPropertyInArrayOfObjects( - state.order.damage.glassToReplace, - "glassLocation" - ).includes(damageLocationsSelected.REAR), - funnelSelectedDriverSideGlass: getNonFalseValuesOfPropertyInArrayOfObjects( - state.order.damage.glassToReplace, - "glassLocation" - ).includes(damageLocationsSelected.DRIVER), - funnelSelectedPassengerSideGlass: getNonFalseValuesOfPropertyInArrayOfObjects( - state.order.damage.glassToReplace, - "glassLocation" - ).includes(damageLocationsSelected.PASSENGER), - return matchedEvent !== undefined ? matchedEvent.eventValue : undefined; - }, - eventBus: (state) => state.applicationUser.eventBus, - damage: (state) => state.order.damage, - lineItems: (state) => state.order.lineItems, - pageData: (state) => (page) => { - return state.applicationUser.pageData[page]; - }, - applicationUser: (state) => state.applicationUser, - order: (state) => state.order, - payment: (state) => state.order.payment, experimentOrder: (state) => { return { funnelVehicleYear: state.order.vehicle.year,