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

Bugfix/1252 auth refresh fix #1275

Merged
merged 2 commits into from
Jan 31, 2024
Merged

Bugfix/1252 auth refresh fix #1275

merged 2 commits into from
Jan 31, 2024

Conversation

danoswaltCL
Copy link
Collaborator

@danoswaltCL danoswaltCL commented Jan 29, 2024

This PR fixes issues with buttons "disappearing" on refresh in some routes: #1252. There is logic that waits until a "NavigationEnd" event is emitted from router before setting the user's role / permissions, but that isn't always the only router event type that signals the end of navigation. I found that "NavigationSkipped" is also necessary for when the router doesn't need to redirect anywhere.

…dispatch fetchUserDetails, small refactor to do in proper rxjs fashion
@danoswaltCL danoswaltCL changed the title dBugfix/1252 auth refresh fix Bugfix/1252 auth refresh fix Jan 29, 2024
@danoswaltCL danoswaltCL merged commit c0d92be into dev Jan 31, 2024
8 checks passed
@danoswaltCL danoswaltCL deleted the bugfix/1252-auth-refresh-fix branch January 31, 2024 13:39
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