Merge pull request #2694 from Safelite/feature/CASH-1237
CASH-1237 | Fix CTA text for overnight dropoff
This commit is contained in:
commit
21969d002f
1 changed files with 4 additions and 1 deletions
|
|
@ -1246,7 +1246,10 @@ export default {
|
||||||
this.appointmentType === AppointmentTypeStrings.DROP_OFF
|
this.appointmentType === AppointmentTypeStrings.DROP_OFF
|
||||||
) {
|
) {
|
||||||
if (
|
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(
|
navbarButtonText += ` at ${this.getDisplayTextForMilitaryTime(
|
||||||
timeSlotInfo.timeSlot.startTime
|
timeSlotInfo.timeSlot.startTime
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue