Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalWebpage
Commits
87c2d6b3
Commit
87c2d6b3
authored
Nov 20, 2019
by
Lukas Burgey
Browse files
Fix member access in header
parent
9a179d83
Changes
1
Show whitespace changes
Inline
Side-by-side
src/app/header/header.component.ts
View file @
87c2d6b3
...
@@ -32,6 +32,10 @@ export class HeaderComponent implements OnInit {
...
@@ -32,6 +32,10 @@ export class HeaderComponent implements OnInit {
}
}
idpCompare
(
a
:
IdP
,
b
:
IdP
):
boolean
{
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
;
}
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment