CASH-1237 | Fix CTA text for overnight dropoff

This commit is contained in:
Scott Kiener 2025-07-25 09:23:21 -04:00
parent cd1d3d9d48
commit 095c8aad7b

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