Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalWebpage
Commits
b017f8cc
Commit
b017f8cc
authored
Mar 05, 2018
by
Lukas Burgey
Browse files
Fix user info listing
parent
5ae80e49
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/user.service.ts
View file @
b017f8cc
...
...
@@ -120,8 +120,10 @@ export class UserService {
// build userInfoData
const
userInfoList
=
[];
for
(
const
key
of
[
'
sub
'
,
'
email
'
])
{
userInfoList
.
push
({
name
:
key
,
info
:
this
.
user
[
key
]});
for
(
const
key
in
data
.
user
)
{
if
(
data
.
user
.
hasOwnProperty
(
key
))
{
userInfoList
.
push
({
name
:
key
,
info
:
data
.
user
[
key
]});
}
}
this
.
userInfoData
=
new
MatTableDataSource
(
userInfoList
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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