From 839d7b7bb8477bf4601c76b17114a46b8be615f5 Mon Sep 17 00:00:00 2001 From: Jared Snider <116684653+JaredSnider-Bitwarden@users.noreply.github.com> Date: Wed, 23 Aug 2023 15:22:04 -0400 Subject: [PATCH] PM-3590 - Browser - redirect to current tab on logged in (tabs/tabs isn't a route) (#6097) --- apps/browser/src/popup/app-routing.module.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/browser/src/popup/app-routing.module.ts b/apps/browser/src/popup/app-routing.module.ts index e247f59a12..8ef51913f6 100644 --- a/apps/browser/src/popup/app-routing.module.ts +++ b/apps/browser/src/popup/app-routing.module.ts @@ -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",