From 4be617dfb1d8cc71aff5585624c72a83fe29c9ba Mon Sep 17 00:00:00 2001 From: Alec Rippberger Date: Tue, 8 Apr 2025 13:45:54 -0500 Subject: [PATCH] Redirect to vault if there is an available activeUserId --- apps/browser/src/popup/app.component.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/browser/src/popup/app.component.ts b/apps/browser/src/popup/app.component.ts index 6a08bf007bb..408b217d0bc 100644 --- a/apps/browser/src/popup/app.component.ts +++ b/apps/browser/src/popup/app.component.ts @@ -115,6 +115,10 @@ export class AppComponent implements OnInit, OnDestroy { if (msg.logoutReason) { await this.displayLogoutReason(msg.logoutReason); } + + if (this.activeUserId) { + await this.router.navigate(["vault"]); + } }); this.changeDetectorRef.detectChanges(); } else if (msg.command === "authBlocked" || msg.command === "goHome") {