angular
angular copied to clipboard
Seems like relativeTo is deprecated please upgrade to new API
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 });