SSR-1295 Continue to next page after picking time slot
This commit is contained in:
parent
31da5e40f8
commit
e602dffa11
2 changed files with 4 additions and 3 deletions
|
|
@ -61,7 +61,8 @@
|
||||||
selectableDatesData.estimatedServiceMinutesMaximum
|
selectableDatesData.estimatedServiceMinutesMaximum
|
||||||
"
|
"
|
||||||
validationRules="time-slot-selection-required"
|
validationRules="time-slot-selection-required"
|
||||||
@timeSlotModalClosed="timeSlotModalClosed" />
|
@timeSlotModalClosed="timeSlotModalClosed"
|
||||||
|
@timeSlotSelected="forwardButtonAction" />
|
||||||
<siteFooter
|
<siteFooter
|
||||||
ref="navbar"
|
ref="navbar"
|
||||||
class="mt-5"
|
class="mt-5"
|
||||||
|
|
|
||||||
|
|
@ -113,7 +113,7 @@ export default {
|
||||||
customComponentId: String,
|
customComponentId: String,
|
||||||
selectedDate: String
|
selectedDate: String
|
||||||
},
|
},
|
||||||
emits: ['update:modelValue', 'time-slot-modal-closed'],
|
emits: ['update:modelValue', 'time-slot-modal-closed', 'timeSlotSelected'],
|
||||||
setup(props) {
|
setup(props) {
|
||||||
const uuid = crypto.randomUUID();
|
const uuid = crypto.randomUUID();
|
||||||
const componentId = !props.customComponentId
|
const componentId = !props.customComponentId
|
||||||
|
|
@ -357,7 +357,7 @@ export default {
|
||||||
'update:modelValue',
|
'update:modelValue',
|
||||||
this.getSelectedTimeSlotInfoObject(this.selectedRouteCode)
|
this.getSelectedTimeSlotInfoObject(this.selectedRouteCode)
|
||||||
);
|
);
|
||||||
this.closeModal();
|
this.$emit('timeSlotSelected');
|
||||||
},
|
},
|
||||||
getRelevantDropOffCmsWidgetNameForSelectedTimeSlot(
|
getRelevantDropOffCmsWidgetNameForSelectedTimeSlot(
|
||||||
selectedRouteCode,
|
selectedRouteCode,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue