mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
PM-3590 - Browser - redirect to current tab on logged in (tabs/tabs isn't a route) (#6097)
This commit is contained in:
@@ -58,7 +58,9 @@ const routes: Routes = [
|
|||||||
path: "",
|
path: "",
|
||||||
pathMatch: "full",
|
pathMatch: "full",
|
||||||
children: [], // Children lets us have an empty component.
|
children: [], // Children lets us have an empty component.
|
||||||
canActivate: [redirectGuard({ loggedIn: "/tabs/tabs", loggedOut: "/home", locked: "/lock" })],
|
canActivate: [
|
||||||
|
redirectGuard({ loggedIn: "/tabs/current", loggedOut: "/home", locked: "/lock" }),
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "vault",
|
path: "vault",
|
||||||
|
|||||||
Reference in New Issue
Block a user