Merge pull request #1225 from Safelite/defect/CSR-1497
CSR-1497 | Disclaimer not showing up correctly on same-day drop off scenarios
This commit is contained in:
commit
ac59b0d8d7
1 changed files with 6 additions and 4 deletions
|
|
@ -183,10 +183,12 @@ export default {
|
|||
},
|
||||
disclaimerTextBlockCopy() {
|
||||
if (this.appointmentType === AppointmentTypeStrings.DROP_OFF) {
|
||||
if (this.isSameDay) {
|
||||
return this.sameDayDropOffDisclaimerText;
|
||||
} else if (this.selectedTimeSlotId?.includes(RouteCodeFlags.ALL_DAY_DROP_OFF)) {
|
||||
return this.dropoffDisclaimerText;
|
||||
if (this.selectedTimeSlotId?.includes(RouteCodeFlags.ALL_DAY_DROP_OFF)) {
|
||||
if (this.isSameDay) {
|
||||
return this.sameDayDropOffDisclaimerText;
|
||||
} else {
|
||||
return this.dropoffDisclaimerText;
|
||||
}
|
||||
} else if (this.selectedTimeSlotId?.includes(RouteCodeFlags.OVERNIGHT_DROP_OFF)) {
|
||||
return this.overnightDropOffDisclaimerText;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue