Is there a way to redirect the user to a specific page with ${id} opening in a new tab, after clicking a button in an angular material dialog box? I want to leave the dialog box open while querying the new page. Currently, the redirect happens but not in a new tab. What is the solution to achieve this?
I attempted to use
this.router.navigate([`client/sl`])
I also tried
this.router.navigateByUrl([`client/sl?id=${this.data.dispatch.id}&tab=`] )
but without success.
Although window.open() works, I'm unsure if it's the best solution as it doesn't provide a smooth transition.