Skip to content

Commit fd82bbc

Browse files
committed
Fix the branching for contact preferences in clinic booking
1 parent e419409 commit fd82bbc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/controllers/book-into-a-clinic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export const bookIntoClinicController = {
197197
// Parent journey
198198
[`/${session_preset_slug}/${booking_uuid}/new/parent`]: {
199199
[`/${session_preset_slug}/${booking_uuid}/new/offer-health-questions`]:
200-
() => !booking?.parent?.tel
200+
() => !request.session.data.booking?.parent?.tel
201201
},
202202
[`/${session_preset_slug}/${booking_uuid}/new/contact-preference`]: {},
203203

0 commit comments

Comments
 (0)