Merge pull request #2694 from Safelite/feature/CASH-1237

CASH-1237 | Fix CTA text for overnight dropoff
This commit is contained in:
scottkiener-at-safelite 2025-07-25 09:32:57 -04:00 committed by GitHub
commit 21969d002f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1246,7 +1246,10 @@ export default {
this.appointmentType === AppointmentTypeStrings.DROP_OFF
) {
if (
!timeSlotInfo.timeSlot.routeCode.includes(RouteCodeFlags.ALL_DAY_DROP_OFF)
!timeSlotInfo.timeSlot.routeCode.includes(
RouteCodeFlags.ALL_DAY_DROP_OFF
) &&
!timeSlotInfo.timeSlot.routeCode.includes(RouteCodeFlags.OVERNIGHT_DROP_OFF)
) {
navbarButtonText += ` at ${this.getDisplayTextForMilitaryTime(
timeSlotInfo.timeSlot.startTime