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 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"

View file

@ -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,