mirror of
https://github.com/bitwarden/web
synced 2025-12-06 00:03:28 +00:00
Use != for null checks (#1105)
This commit is contained in:
@@ -222,7 +222,7 @@ export class EventService {
|
||||
const policies = await this.policyService.getAll();
|
||||
const policy = policies.filter(p => p.id === ev.policyId)[0];
|
||||
let p1 = this.getShortId(ev.policyId);
|
||||
if (policy !== null) {
|
||||
if (policy != null) {
|
||||
p1 = PolicyType[policy.type];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user