Skip to content

fix: read navigation extras from the router navigation instead of using stored values #88

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

Merged
merged 4 commits into from
Nov 23, 2022

Conversation

edusperoni
Copy link
Collaborator

@edusperoni edusperoni commented Sep 13, 2022

PR Checklist

What is the current behavior?

We currently store the navigation options in the location strategy. This means that multiple navigations at the same time will override each other's navigation options;

What is the new behavior?

We now get the navigation extras from the current navigation stored in the router itself, which will always return the correct information for that navigation.

@cla-bot cla-bot bot added the cla: yes label Sep 13, 2022
@edusperoni
Copy link
Collaborator Author

once @davecoffin validates this we can remove the draft status

@edusperoni edusperoni marked this pull request as ready for review November 23, 2022 11:46
Copy link

@facetious facetious left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@edusperoni edusperoni merged commit 2e475f9 into main Nov 23, 2022
@edusperoni edusperoni deleted the fix/nav-extras branch November 23, 2022 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants