SSR-1295 Continue to next page after picking time slot

This commit is contained in:
Josh Dassinger 2024-08-30 09:38:18 -05:00
parent 31da5e40f8
commit e602dffa11
2 changed files with 4 additions and 3 deletions

View file

@ -61,7 +61,8 @@
selectableDatesData.estimatedServiceMinutesMaximum
"
validationRules="time-slot-selection-required"
@timeSlotModalClosed="timeSlotModalClosed" />
@timeSlotModalClosed="timeSlotModalClosed"
@timeSlotSelected="forwardButtonAction" />
<siteFooter
ref="navbar"
class="mt-5"

View file

@ -113,7 +113,7 @@ export default {
customComponentId: String,
selectedDate: String
},
emits: ['update:modelValue', 'time-slot-modal-closed'],
emits: ['update:modelValue', 'time-slot-modal-closed', 'timeSlotSelected'],
setup(props) {
const uuid = crypto.randomUUID();
const componentId = !props.customComponentId
@ -357,7 +357,7 @@ export default {
'update:modelValue',
this.getSelectedTimeSlotInfoObject(this.selectedRouteCode)
);
this.closeModal();
this.$emit('timeSlotSelected');
},
getRelevantDropOffCmsWidgetNameForSelectedTimeSlot(
selectedRouteCode,