Cleaned up the code a bit and some UX
This commit is contained in:
parent
2c0921acc6
commit
b47d2acac8
10 changed files with 73 additions and 20 deletions
|
|
@ -56,4 +56,12 @@ export class ManageUsersComponent implements OnInit {
|
|||
console.log('Closed Result', closeResult);
|
||||
});
|
||||
}
|
||||
|
||||
formatLibraries(member: Member) {
|
||||
if (member.libraries.length === 0) {
|
||||
return 'None';
|
||||
}
|
||||
|
||||
return member.libraries.map(item => item.name + ', ');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue