From 1c8ab3900c7b135f7af5f27eefdf9fb22053c247 Mon Sep 17 00:00:00 2001 From: Justin Baur <19896123+justindbaur@users.noreply.github.com> Date: Wed, 17 Jan 2024 10:16:02 -0500 Subject: [PATCH] Use Null-ish Comparison vs Strict Null (#7514) --- apps/browser/src/popup/app.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/browser/src/popup/app.component.ts b/apps/browser/src/popup/app.component.ts index 22595f5a64..174a757b3e 100644 --- a/apps/browser/src/popup/app.component.ts +++ b/apps/browser/src/popup/app.component.ts @@ -100,7 +100,7 @@ export class AppComponent implements OnInit, OnDestroy { this.router.navigate(["home"]); } else if ( msg.command === "locked" && - (msg.userId === null || msg.userId == this.activeUserId) + (msg.userId == null || msg.userId == this.activeUserId) ) { this.router.navigate(["lock"]); } else if (msg.command === "showDialog") {