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

DLSV2-560 Prevent error when navigating back after deleting a delegate #1366

Merged

Conversation

daniel-manta-hee
Copy link
Contributor

After deleting a delegate in Supervisor application (with confirmation prompt), prevent error as user navigates back by clicking browser's Back button.

JIRA link

https://hee-dls.atlassian.net/browse/DLSV2-560

Description

Check that delegate is not null before returning delete confirmation page. If delegate is null, return to My Staff list, as the delegate is already deleted or it doesn't exists.

Screenshots

image


Developer checks

After confirming deletion, back button redirects to My Staff list.

@kevwhitt-hee kevwhitt-hee merged commit 818f62d into master Aug 25, 2022
@kevwhitt-hee kevwhitt-hee deleted the Develop/Fixes/DLSV2-560-RemoveStaffMemberFromMyStaffList branch August 25, 2022 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants