Commit 87c2d6b3 authored by Lukas Burgey's avatar Lukas Burgey
Browse files

Fix member access in header

parent 9a179d83
......@@ -32,6 +32,10 @@ export class HeaderComponent implements OnInit {
}
idpCompare(a: IdP, b: IdP): boolean {
return a !== undefined && b !== undefined && a.id === b.id;
if (!!a && !!b) {
return a.id === b.id;
} else {
return false;
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment