Merge pull request #834 from Safelite/feature/digital/SSR-1295

SSR-1295 Continue to next page after picking time slot
This commit is contained in:
Josh Dassinger 2024-08-30 10:12:21 -05:00 committed by GitHub
commit 95557eaefc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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,