Cleaned up the code a bit and some UX

This commit is contained in:
Joseph Milazzo 2020-12-20 18:02:57 -06:00
parent 2c0921acc6
commit b47d2acac8
10 changed files with 73 additions and 20 deletions

View file

@ -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 + ', ');
}
}