Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cancel booking button doesn't return 'parentAdded' to false #4

Open
SPH73 opened this issue Jun 7, 2023 · 0 comments
Open

Cancel booking button doesn't return 'parentAdded' to false #4

SPH73 opened this issue Jun 7, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@SPH73
Copy link
Owner

SPH73 commented Jun 7, 2023

On clicking cancel booking, both the savedParent and academyBooking objects are reset but the parentAdded remains true. This results in the parent details form not showing and the child form showing, which should be the reverse. The issue is that the new details will not include the parent details and therefore the booking can't get posted and the user needs to refresh the page to reset it.

@SPH73 SPH73 added the bug Something isn't working label Jun 7, 2023
@SPH73 SPH73 self-assigned this Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant