mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-21 11:35:34 +01:00
Use Null-ish Comparison vs Strict Null (#7514)
This commit is contained in:
parent
ee4aa31444
commit
1c8ab3900c
@ -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") {
|
||||
|
Loading…
Reference in New Issue
Block a user