mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 22:03:36 +00:00
Use Null-ish Comparison vs Strict Null (#7514)
This commit is contained in:
@@ -100,7 +100,7 @@ export class AppComponent implements OnInit, OnDestroy {
|
|||||||
this.router.navigate(["home"]);
|
this.router.navigate(["home"]);
|
||||||
} else if (
|
} else if (
|
||||||
msg.command === "locked" &&
|
msg.command === "locked" &&
|
||||||
(msg.userId === null || msg.userId == this.activeUserId)
|
(msg.userId == null || msg.userId == this.activeUserId)
|
||||||
) {
|
) {
|
||||||
this.router.navigate(["lock"]);
|
this.router.navigate(["lock"]);
|
||||||
} else if (msg.command === "showDialog") {
|
} else if (msg.command === "showDialog") {
|
||||||
|
|||||||
Reference in New Issue
Block a user