From e734d94df9fbc4ed6f4615cca132b0656199ab57 Mon Sep 17 00:00:00 2001 From: AdamCaouetteSafelite Date: Wed, 9 Jul 2025 12:38:40 -0400 Subject: [PATCH] CASH-845: prettier changes --- src/digital-components/date-picker/date-picker.vue | 5 +---- src/layouts/schedule/helpers/schedule-helper.js | 4 +--- src/layouts/schedule/schedule.vue | 13 +++++++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/digital-components/date-picker/date-picker.vue b/src/digital-components/date-picker/date-picker.vue index 0840f8a1f..d04d10872 100644 --- a/src/digital-components/date-picker/date-picker.vue +++ b/src/digital-components/date-picker/date-picker.vue @@ -166,10 +166,7 @@ import { MONTHS_OF_YEAR, DAYS_OF_WEEK, } from "@/digital-components/date-picker/mixins/constants"; -import { - AppointmentTypeStrings, - PREMIUM_FEE_PART_TYPE, -} from "@/constants/schedule-constants"; +import { AppointmentTypeStrings, PREMIUM_FEE_PART_TYPE } from "@/constants/schedule-constants"; import { selectableDaysOptions, requiredParameter, diff --git a/src/layouts/schedule/helpers/schedule-helper.js b/src/layouts/schedule/helpers/schedule-helper.js index e8b1ec55a..41a1cd66a 100644 --- a/src/layouts/schedule/helpers/schedule-helper.js +++ b/src/layouts/schedule/helpers/schedule-helper.js @@ -1,8 +1,6 @@ import { storeActions } from "@/constants/store-actions"; import baseMixin from "@/mixins/base-mixin.js"; -import { - RouteCodeFlags, -} from "@/constants/schedule-constants"; +import { RouteCodeFlags } from "@/constants/schedule-constants"; export async function getAlertReasons(ctu) { const alertReasons = await baseMixin.methods.dispatchStoreActionWithLogging( diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue index 6dfb4decb..a4d3250d0 100644 --- a/src/layouts/schedule/schedule.vue +++ b/src/layouts/schedule/schedule.vue @@ -1580,11 +1580,15 @@ export default { this.selectedTimeSlotInfo = timeSlotObj; if (this.appointmentType !== AppointmentTypeStrings.MOBILE) { // update apptType based on routeCode to determine if it should be dropoff or inshop - this.appointmentType = this.getInShopOrDropOffApptType(timeSlotObj.timeSlot.routeCode); + this.appointmentType = this.getInShopOrDropOffApptType( + timeSlotObj.timeSlot.routeCode + ); } }, getInShopOrDropOffApptType(routeCode) { - return (isDropOffRouteCode(routeCode)) ? AppointmentTypeStrings.DROP_OFF : AppointmentTypeStrings.IN_SHOP; + return isDropOffRouteCode(routeCode) + ? AppointmentTypeStrings.DROP_OFF + : AppointmentTypeStrings.IN_SHOP; }, }, watch: { @@ -1624,11 +1628,12 @@ export default { } else { if (this.selectedTimeSlotInfo?.timeSlot?.routeCode) { // update appointmentType based on routeCode to determine if it should be dropoff or inshop - this.appointmentType = this.getInShopOrDropOffApptType(this.selectedTimeSlotInfo.timeSlot.routeCode); + this.appointmentType = this.getInShopOrDropOffApptType( + this.selectedTimeSlotInfo.timeSlot.routeCode + ); } else { this.appointmentType = AppointmentTypeStrings.IN_SHOP_OR_DROP_OFF; } - } }, },