From 212cda21aada6f204de50591dfe42b63442b6660 Mon Sep 17 00:00:00 2001 From: CarlNation Date: Tue, 30 May 2023 10:18:33 -0400 Subject: [PATCH 01/13] CSR-1144 Persist Schedule Data --- src/layouts/schedule/schedule.vue | 14 ++++++++++---- .../time-slot-modal-question.vue | 5 +++-- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue index ae2c4042c..3717248f7 100644 --- a/src/layouts/schedule/schedule.vue +++ b/src/layouts/schedule/schedule.vue @@ -127,9 +127,9 @@ export default { name: "schedule", data() { return { - selectedDate: null, + selectedDate: this.getSelectedDate(), selectedTimeSlotData: { - id: null, + id: this.getSelectedRouteCode(), isPremiumAppointment: null, }, selectableDatesData: [], @@ -219,7 +219,7 @@ export default { if (this.selectedDate === null) { return null; } - return this.selectableDatesData.days.find( + return this.selectableDatesData.days?.find( (selectableDate) => selectableDate.dateString === this.selectedDate.dateString ); }, @@ -230,6 +230,7 @@ export default { const timeSlotSelectedObject = this.getTimeSlotObjectFromTimeSlotId( this.selectedTimeSlotData.id ); + if (timeSlotSelectedObject) { return { date: this.selectedDate.dateString, @@ -277,6 +278,12 @@ export default { ).timeSlots; return timeSlots.find((timeSlot) => timeSlot.id === timeSlotId); }, + getSelectedDate() { + return store.getters.order.schedule.date; + }, + getSelectedRouteCode() { + return store.getters.order.schedule.routeCode; + }, timeSlotModalClosed() { // Clear the selectedDate if no timeSlot has been selected if (!this.selectedTimeSlotData.id) { @@ -344,7 +351,6 @@ export default { this.appointmentDateAndTime, false ); - navigateToHeritageFunnel({ loadingModal: this.$refs.loadingModal }); }, }, diff --git a/src/layouts/schedule/time-slot-modal-question/time-slot-modal-question.vue b/src/layouts/schedule/time-slot-modal-question/time-slot-modal-question.vue index a622dd875..62d052941 100644 --- a/src/layouts/schedule/time-slot-modal-question/time-slot-modal-question.vue +++ b/src/layouts/schedule/time-slot-modal-question/time-slot-modal-question.vue @@ -157,9 +157,10 @@ export default { return false; }, dateSelectedReadableDate() { - if (this.dateAndTimeSlotData === null) { + if (!this.dateAndTimeSlotData) { return null; } + // This conversion ensures we don't get get GMT induced date changes const dateObject = new Date(`${this.dateAndTimeSlotData.dateString}T00:00:00`); // Ex: Tuesday, April 22 @@ -170,7 +171,7 @@ export default { }); }, availableTimeSlots() { - if (this.dateAndTimeSlotData === null) { + if (!this.dateAndTimeSlotData) { return null; } if (this.appointmentType === AppointmentTypeStrings.DROP_OFF) { From 8bf25ab9d0f122546e7db00f6250932bbb04fda7 Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Tue, 30 May 2023 14:02:15 -0400 Subject: [PATCH 02/13] Additional Tech Review changes --- .../shop-question/shop-list-button/shop-list-button.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/layouts/service-location/shop-question/shop-list-button/shop-list-button.vue b/src/layouts/service-location/shop-question/shop-list-button/shop-list-button.vue index 73c07a85a..6509c7d5c 100644 --- a/src/layouts/service-location/shop-question/shop-list-button/shop-list-button.vue +++ b/src/layouts/service-location/shop-question/shop-list-button/shop-list-button.vue @@ -63,13 +63,11 @@ export default { .availabilityRatingCallback(startDate, endDate, shopAppointmentType, this.value) .then((data) => { this.availabilityRating = data; - this.isLoaderDisplayed = false; }); } }, data() { return { - isLoaderDisplayed: false, availabilityRating: null, }; }, @@ -80,6 +78,9 @@ export default { "true" ); }, + isLoaderDisplayed() { + return this.availabilityRating == null; + }, availabilityRatingClass() { if (this.availabilityRating == null) { return "gray"; From e0f09edec2b8d26284f79208c5df3ec3a485509d Mon Sep 17 00:00:00 2001 From: Adam Caouette Date: Wed, 31 May 2023 02:51:23 -0400 Subject: [PATCH 03/13] CSR-886: fix number of weeks logic --- .../date-picker/date-picker.vue | 53 +++++++++++++++++-- 1 file changed, 49 insertions(+), 4 deletions(-) diff --git a/src/digital-components/date-picker/date-picker.vue b/src/digital-components/date-picker/date-picker.vue index bd9ae6d9a..c1c66c5d3 100644 --- a/src/digital-components/date-picker/date-picker.vue +++ b/src/digital-components/date-picker/date-picker.vue @@ -193,6 +193,51 @@ export default { weekEndDate: weekEndDate, }); } + + // are any of these weeks split between two months? + const hasSplitWeek = (week) => { + return week.weekStartDate.getMonth() !== week.weekEndDate.getMonth() ? true : false; + }; + const splitWeekIndex = weeks.findIndex(hasSplitWeek); + + if (splitWeekIndex > -1) { + const week1 = []; + const week2 = []; + let switchToWeek2 = false; + + for (let j = 0; j < 7; j++) { + const newDate = new Date(weeks[splitWeekIndex].weekStartDate); + newDate.setDate(newDate.getDate() + j); + if (newDate.getDate() === 1) switchToWeek2 = true; + if (switchToWeek2) { + week2.push(newDate); + } else { + week1.push(newDate); + } + } + + const week1EndDate = week1[week1.length - 1]; + const week2StartDate = week2[0]; + + if (week1EndDate < today) { + // replace week 1 with week 2 + weeks[splitWeekIndex].weekStartDate = week2StartDate; + } else { + const newWeek = { + weekNum: weeks[splitWeekIndex].weekNum, + weekStartDate: week2StartDate, + weekEndDate: weeks[splitWeekIndex].weekEndDate, + }; + weeks[splitWeekIndex].weekEndDate = week1EndDate; + weeks.splice(splitWeekIndex + 1, 0, newWeek); + weeks.pop(); + weeks.forEach((item, index) => { + if (index > splitWeekIndex) { + item.weekNum = item.weekNum + 1; + } + }); + } + } return weeks; }, async loadInitialData(config) { @@ -222,8 +267,8 @@ export default { const initialViewStartDate = todayDate; const initialViewEndDate = initialViewWeeks[initialViewWeeks.length - 1].weekEndDate; - const saturday1month = initialViewWeeks[0].weekEndDate.getMonth(); - const sunday5month = + const firstSaturdayMonth = initialViewWeeks[0].weekEndDate.getMonth(); + const lastSundayMonth = initialViewWeeks[initialViewWeeks.length - 1].weekStartDate.getMonth(); let hideSomeDaysForInitialView = false; @@ -231,10 +276,10 @@ export default { // TODO - NEED TO CREATE OPPOSITE LOGIC FOR "past" DIRECTION LIKE BELOW vvvvv if (calendarViewDirection === "future") { - if (saturday1month !== sunday5month) { + if (firstSaturdayMonth !== lastSundayMonth) { hideSomeDaysForInitialView = true; } - if (initialViewStartDate.getMonth() === sunday5month) { + if (initialViewStartDate.getMonth() === lastSundayMonth) { hideSecondMonth = true; if (currentMonthEnd > initialViewEndDate) { // should part of 1st month be hidden? From 616fe6ddd0a23550505e2feef39af5dc94e85dfe Mon Sep 17 00:00:00 2001 From: CarlNation Date: Wed, 31 May 2023 10:56:59 -0400 Subject: [PATCH 04/13] CSR-1144 persist job max time --- src/layouts/schedule/schedule.vue | 4 ++-- src/store/index.js | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue index 3717248f7..e4c99fc65 100644 --- a/src/layouts/schedule/schedule.vue +++ b/src/layouts/schedule/schedule.vue @@ -237,7 +237,7 @@ export default { startTime: timeSlotSelectedObject.startTime, endTime: timeSlotSelectedObject.endTime, routeCode: this.selectedTimeSlotData.id, - jobMaxMinutes: this.selectableDatesData.estimatedServiceMinutesMaximum, + jobMaxMinutes: this.selectableDatesData.estimatedServiceMinutesMaximum.toString(), }; } else { return null; @@ -346,7 +346,7 @@ export default { this.$router.navigateWithoutSaving(this.navigationScenarios.CLICKED_BACK, this.$route); }, async forwardButtonAction() { - await this.dispatchStoreAction( + this.dispatchStoreAction( this.storeActions.SAVE_SCHEDULE, this.appointmentDateAndTime, false diff --git a/src/store/index.js b/src/store/index.js index 270203f89..09aa0a7ef 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -84,6 +84,7 @@ const getDefaultState = () => { startTime: null, endTime: null, routeCode: null, + jobMaxMinutes: null, }, referralNumber: null, referralDate: null, @@ -268,6 +269,7 @@ export const mutations = { state.order.schedule.startTime = scheduleInfo.startTime; state.order.schedule.endTime = scheduleInfo.endTime; state.order.schedule.routeCode = scheduleInfo.routeCode; + state.order.schedule.jobMaxMinutes = scheduleInfo.jobMaxMinutes; } }, @@ -440,6 +442,7 @@ export const mutations = { state.order.schedule.startTime = sessionInformation.order.schedule?.startTime; state.order.schedule.endTime = sessionInformation.order.schedule?.endTime; state.order.schedule.routeCode = sessionInformation.order.schedule?.routeCode; + state.order.schedule.jobMaxMinutes = sessionInformation.order.schedule?.jobMaxMinutes; }, updateExperiments(state, experiments) { state.applicationUser.experiments = experiments; @@ -1342,6 +1345,7 @@ export const actions = { startTime: order.schedule?.startTime, endTime: order.schedule?.endTime, routeCode: order.schedule?.routeCode, + jobMaxMinutes: order.schedule?.jobMaxMinutes }, existingPromoCode: null, referralCorrelationId: order.referralCorrelationId, From 6f46f778385989d085ca107d44b08906896e23c2 Mon Sep 17 00:00:00 2001 From: CarlNation Date: Wed, 31 May 2023 11:06:15 -0400 Subject: [PATCH 05/13] CSR-1144 prettier --- src/layouts/schedule/schedule.vue | 3 ++- src/store/index.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue index 3c5cf71f1..db17d966f 100644 --- a/src/layouts/schedule/schedule.vue +++ b/src/layouts/schedule/schedule.vue @@ -237,7 +237,8 @@ export default { startTime: timeSlotSelectedObject.startTime, endTime: timeSlotSelectedObject.endTime, routeCode: this.selectedTimeSlotData.id, - jobMaxMinutes: this.selectableDatesData.estimatedServiceMinutesMaximum.toString(), + jobMaxMinutes: + this.selectableDatesData.estimatedServiceMinutesMaximum.toString(), }; } else { return null; diff --git a/src/store/index.js b/src/store/index.js index 4adc418ec..014ed71af 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -1345,7 +1345,7 @@ export const actions = { startTime: order.schedule?.startTime, endTime: order.schedule?.endTime, routeCode: order.schedule?.routeCode, - jobMaxMinutes: order.schedule?.jobMaxMinutes + jobMaxMinutes: order.schedule?.jobMaxMinutes, }, existingPromoCode: null, referralCorrelationId: order.referralCorrelationId, From 9d0d2af36192954ae599adb4d9950c9cfb75763c Mon Sep 17 00:00:00 2001 From: Bryan Mauger Date: Wed, 31 May 2023 11:29:19 -0400 Subject: [PATCH 06/13] CSR-1426 disable Bootstrap !important behavior. Also disable page scroll when modal is open. --- src/styles/common-styles.scss | 6 ++++++ src/styles/shared-input-button-styles.scss | 1 + src/styles/ux-variables.scss | 3 +++ src/ux-components/list-card/list-card.vue | 2 +- 4 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/styles/common-styles.scss b/src/styles/common-styles.scss index 73845e5cc..f8e1c50f1 100644 --- a/src/styles/common-styles.scss +++ b/src/styles/common-styles.scss @@ -56,3 +56,9 @@ body { height: calc(100% - 72px); } } +//Disable scroll of main container when modal is open +.modal-open { + .page-container-grouped-styles { + overflow: hidden; + } +} diff --git a/src/styles/shared-input-button-styles.scss b/src/styles/shared-input-button-styles.scss index 9af066bb0..8d0c394aa 100644 --- a/src/styles/shared-input-button-styles.scss +++ b/src/styles/shared-input-button-styles.scss @@ -9,6 +9,7 @@ position: relative; z-index: 5; @include box-shadow-hover($blue-300); + border-radius: .5rem; } } } diff --git a/src/styles/ux-variables.scss b/src/styles/ux-variables.scss index 1e95a4052..976e8ed04 100644 --- a/src/styles/ux-variables.scss +++ b/src/styles/ux-variables.scss @@ -190,3 +190,6 @@ $alert-color-scale: 40%; // This affects all [Bootstrap] modals $modal-fade-transform: translate(0, 100%); $modal-backdrop-opacity: 0; + +//Disable default !important behavior +$enable-important-utilities: false; diff --git a/src/ux-components/list-card/list-card.vue b/src/ux-components/list-card/list-card.vue index 7755249ab..ee8785022 100644 --- a/src/ux-components/list-card/list-card.vue +++ b/src/ux-components/list-card/list-card.vue @@ -94,7 +94,7 @@ export default { + .list-card-content { outline: none; - display: block; + display: flex; position: relative; p { From 4eb071901897ae38af2503df2d8e04d4114c7801 Mon Sep 17 00:00:00 2001 From: Bryan Mauger Date: Wed, 31 May 2023 11:30:41 -0400 Subject: [PATCH 07/13] Format code. --- src/styles/shared-input-button-styles.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles/shared-input-button-styles.scss b/src/styles/shared-input-button-styles.scss index 8d0c394aa..07329fc71 100644 --- a/src/styles/shared-input-button-styles.scss +++ b/src/styles/shared-input-button-styles.scss @@ -9,7 +9,7 @@ position: relative; z-index: 5; @include box-shadow-hover($blue-300); - border-radius: .5rem; + border-radius: 0.5rem; } } } From 6a6b37d5e77ed416dc0ed1d1f86f400552e79b16 Mon Sep 17 00:00:00 2001 From: Adam Caouette Date: Thu, 1 Jun 2023 10:59:13 -0400 Subject: [PATCH 08/13] CSR-886: remove superfluous data elements, change date from object to string --- .../date-picker/date-picker.vue | 29 +++++++------------ src/layouts/schedule/schedule.vue | 15 +--------- 2 files changed, 11 insertions(+), 33 deletions(-) diff --git a/src/digital-components/date-picker/date-picker.vue b/src/digital-components/date-picker/date-picker.vue index e63349c67..384f5f697 100644 --- a/src/digital-components/date-picker/date-picker.vue +++ b/src/digital-components/date-picker/date-picker.vue @@ -31,8 +31,8 @@
SaturdayS
date.dateString === dateString - ) > -1 + this.selectableDatesData.findIndex((date) => date.date === dateString) > -1 ? true : false, }; @@ -555,8 +547,8 @@ export default { if (monthToShow) { // make new API call with this month's start and end dates await this.updateSelectableDates( - monthToShow.dates[monthStartDateNum].inputValue.dateString, - monthToShow.dates[monthToShow.dates.length - 1].inputValue.dateString + monthToShow.dates[monthStartDateNum].inputValue, + monthToShow.dates[monthToShow.dates.length - 1].inputValue ); this.isLoading = false; this.hideSomeDaysForInitialView = false; // if hid days on initial partial view, this will reveal those days @@ -576,13 +568,13 @@ export default { ); moreSelectableDates.days.forEach((selectableDate) => { const index = this.selectableDatesData.findIndex( - (obj) => obj.dateString === selectableDate.dateString + (dateObj) => dateObj.date === selectableDate.date ); - if (index === -1) this.selectableDatesData.push(selectableDate); + if (index === -1) this.selectableDatesData.push(selectableDate.date); this.months.forEach((month) => { - // TODO: avoid checking all calendar date; maybe only ones between monthStart and monthEnd as defined above? + // TODO: avoid checking all calendar dates; maybe only ones between monthStart and monthEnd as defined above? month.dates.forEach((date) => { - if (date.inputValue.dateString === selectableDate.dateString) { + if (date.inputValue === selectableDate.date) { date["isSelectable"] = true; } }); @@ -853,7 +845,6 @@ export default { .btn-link { font-weight: 500; text-underline-offset: 4px; - box-shadow: none !important; // TODO: FIX THIS position: absolute; top: 90%; } diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue index db17d966f..e5282203e 100644 --- a/src/layouts/schedule/schedule.vue +++ b/src/layouts/schedule/schedule.vue @@ -107,20 +107,7 @@ const getAvailableDates = async (startDate, endDate, appointmentType, providerNu ); } - const newShopTimeSlots = newTimeSlotsResponse.data; - return convertApiResponse(newShopTimeSlots); -}; -const convertApiResponse = (responseData) => { - // DATA CONVERSION - responseData?.days.forEach((date) => { - const dateString = date.date; - date.dateString = dateString; - const dateStringPieces = dateString.split("-"); - date.year = Number(dateStringPieces[0]); - date.month = Number(dateStringPieces[1]); - date.date = Number(dateStringPieces[2]); - }); - return responseData; + return newTimeSlotsResponse.data; }; export default { From dbda73479d5005ee3e7d9591f76542ee782bf159 Mon Sep 17 00:00:00 2001 From: Adam Caouette Date: Thu, 1 Jun 2023 11:08:46 -0400 Subject: [PATCH 09/13] CSR-886: minor fixes (lets to consts) --- src/digital-components/date-picker/date-picker.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/digital-components/date-picker/date-picker.vue b/src/digital-components/date-picker/date-picker.vue index 384f5f697..bc4d6318e 100644 --- a/src/digital-components/date-picker/date-picker.vue +++ b/src/digital-components/date-picker/date-picker.vue @@ -254,7 +254,7 @@ export default { const todayYearNum = todayDate.getFullYear(); // TODO - set up currentMonthStart if direction is PAST: // let currentMonthStart = new Date(todayYearNum, todayMonthIndex - 1, 1); - let currentMonthEnd = new Date(todayYearNum, todayMonthIndex, 0); + const currentMonthEnd = new Date(todayYearNum, todayMonthIndex, 0); let calendarViewDirection = "none"; if (config.selectableDatesSetting === "past") calendarViewDirection = "past"; @@ -288,7 +288,7 @@ export default { } } - let myPromise = new Promise((resolve, reject) => { + const myPromise = new Promise((resolve, reject) => { const response = config.customSelectableDatesCallback( initialViewStartDate.toISOString().split("T")[0], initialViewEndDate.toISOString().split("T")[0], From 8e93eda0ce39c43361e3768b159e40b50164874d Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Fri, 2 Jun 2023 06:30:09 -0400 Subject: [PATCH 10/13] Removed !important flags from shop list components --- .../shop-list-button/shop-list-button.vue | 15 ++++++++------- .../shop-question/shop-question.vue | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/layouts/service-location/shop-question/shop-list-button/shop-list-button.vue b/src/layouts/service-location/shop-question/shop-list-button/shop-list-button.vue index 6509c7d5c..14cc91ca4 100644 --- a/src/layouts/service-location/shop-question/shop-list-button/shop-list-button.vue +++ b/src/layouts/service-location/shop-question/shop-list-button/shop-list-button.vue @@ -73,10 +73,11 @@ export default { }, computed: { displayAvailabilityIndicators() { - return experimentMixin.methods.hasSettingEqualTo( - experimentSettings.DISPLAY_AVAILABILITY_INDICATORS, - "true" - ); + return true; + // return experimentMixin.methods.hasSettingEqualTo( + // experimentSettings.DISPLAY_AVAILABILITY_INDICATORS, + // "true" + // ); }, isLoaderDisplayed() { return this.availabilityRating == null; @@ -192,7 +193,7 @@ export default { .button-auxillary-copy { box-sizing: border-box; justify-content: right; - line-height: 1.25rem !important; + line-height: 1.25rem; font-weight: 500; font-size: 0.75rem; align-items: center; @@ -205,7 +206,7 @@ export default { } .loader:after { - background-color: $gray-300 !important; + background-color: $gray-300; height: 1rem; width: 1rem; } @@ -221,7 +222,7 @@ export default { } &.gray { - color: $gray-600 !important; + color: $gray-600; background-color: $gray-100; padding-left: 0.125rem; padding-right: 0.125rem; diff --git a/src/layouts/service-location/shop-question/shop-question.vue b/src/layouts/service-location/shop-question/shop-question.vue index 2bc4cba7b..929c779af 100644 --- a/src/layouts/service-location/shop-question/shop-question.vue +++ b/src/layouts/service-location/shop-question/shop-question.vue @@ -280,7 +280,7 @@ export default { border-radius: 0.5rem; display: flex; flex-direction: row; - padding: 0.5rem 0.5rem 0.5rem 1.5rem !important; + padding: 0.5rem 0.5rem 0.5rem 1.5rem; gap: 0.25rem; .alert-heading { From 952d99d3926eabe66a6f82a25a0d05e5b31b9ebc Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Fri, 2 Jun 2023 07:36:55 -0400 Subject: [PATCH 11/13] Added missing fields to vuex, and loading method for isVehicleProtected --- src/layouts/service-location/service-location.vue | 5 ++++- src/store/index.js | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/layouts/service-location/service-location.vue b/src/layouts/service-location/service-location.vue index 713cdb089..252eac529 100644 --- a/src/layouts/service-location/service-location.vue +++ b/src/layouts/service-location/service-location.vue @@ -142,7 +142,7 @@ export default { city: this.getServiceCityFromStore(), state: this.getServiceStateFromStore(), zipCode: this.getServiceZipCodeFromStore(), - isVehicleProtected: null, + isVehicleProtected: this.getIsVehicleProtectedFromStore(), isGlassServiceableInshop: null, isRecalibrationServiceableInshop: null, isGlassServiceableMobile: null, @@ -348,6 +348,9 @@ export default { getServiceZipCodeFromStore() { return store.getters.order.serviceLocation.zipCode; }, + getIsVehicleProtectedFromStore() { + return store.getters.order.serviceLocation.isVehicleProtected; + }, getSelectedAppointmentType() { return store.getters.order.serviceLocation.appointmentType; }, diff --git a/src/store/index.js b/src/store/index.js index 014ed71af..3d1b21dd4 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -39,11 +39,13 @@ const getDefaultState = () => { }, serviceLocation: { address: null, + address2: null, city: null, state: null, zipCode: null, zipCodeCtu: null, appointmentType: null, + isVehicleProtected: null, provider: { providerNumber: null, address: { @@ -1833,7 +1835,7 @@ export const actions = { }, saveGlassParts(context, parts) { - context.commit(storeMutations.UPDATE_GLASS_PARTS, parts); + context.commit(storeMutations.UPDATE_GLASS_PARTS, parts); }, clearVin(context) { From c26b03e961a7e130d6d29074581ecfecc7355f33 Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Fri, 2 Jun 2023 07:38:42 -0400 Subject: [PATCH 12/13] Prettified --- src/store/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/index.js b/src/store/index.js index 3d1b21dd4..d6ffe60c0 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -1835,7 +1835,7 @@ export const actions = { }, saveGlassParts(context, parts) { - context.commit(storeMutations.UPDATE_GLASS_PARTS, parts); + context.commit(storeMutations.UPDATE_GLASS_PARTS, parts); }, clearVin(context) { From 3583b1145688b377a5112c0f8a7c6f67f52d58c7 Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Fri, 2 Jun 2023 09:05:02 -0400 Subject: [PATCH 13/13] Removed test conditional --- .../shop-question/shop-list-button/shop-list-button.vue | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/layouts/service-location/shop-question/shop-list-button/shop-list-button.vue b/src/layouts/service-location/shop-question/shop-list-button/shop-list-button.vue index 14cc91ca4..f29ccf37b 100644 --- a/src/layouts/service-location/shop-question/shop-list-button/shop-list-button.vue +++ b/src/layouts/service-location/shop-question/shop-list-button/shop-list-button.vue @@ -73,11 +73,10 @@ export default { }, computed: { displayAvailabilityIndicators() { - return true; - // return experimentMixin.methods.hasSettingEqualTo( - // experimentSettings.DISPLAY_AVAILABILITY_INDICATORS, - // "true" - // ); + return experimentMixin.methods.hasSettingEqualTo( + experimentSettings.DISPLAY_AVAILABILITY_INDICATORS, + "true" + ); }, isLoaderDisplayed() { return this.availabilityRating == null;