1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-02 18:17:46 +01:00

PM-3590 - Browser - redirect to current tab on logged in (tabs/tabs isn't a route) (#6097)

This commit is contained in:
Jared Snider 2023-08-23 15:22:04 -04:00 committed by GitHub
parent 4795a29116
commit 839d7b7bb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,9 @@ const routes: Routes = [
path: "",
pathMatch: "full",
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",