1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-24 12:06:15 +01: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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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