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

Seems like relativeTo is deprecated please upgrade to new API #111

Open
cjohn001 opened this issue Apr 1, 2023 · 0 comments
Open

Seems like relativeTo is deprecated please upgrade to new API #111

cjohn001 opened this issue Apr 1, 2023 · 0 comments

Comments

@cjohn001
Copy link

cjohn001 commented Apr 1, 2023

Since Angular 15.2.3 I get the following warning message:

The navigation to /selection/add-edit-product/675670/3 will instead go to /selection/tab-select-diary-item/(outlet-0:search-tab//outlet-1:custom-tab//outlet-2:meals-tab//outlet-3:quickly-add-tab) in an upcoming version of Angular. relativeTo might need to be removed from the UrlCreationOptions.

This seems to be related to the following call:

this.router.back({ relativeTo: this.activatedRoute });

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

No branches or pull requests

1 participant