1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 05:13:29 +00:00

Use Null-ish Comparison vs Strict Null (#7514)

This commit is contained in:
Justin Baur
2024-01-17 10:16:02 -05:00
committed by GitHub
parent ee4aa31444
commit 1c8ab3900c

View File

@@ -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") {