debug teams details

This commit is contained in:
Barry Low committed 2018-10-04 02:02:33 -07:00
1 parent f50bca125d
commit f7ce9b5502
2 files changed
+1 -8

No files matched your search

@@ -15,6 +15,7 @@ const TEAMS_CONNECTIONS_FRAGMENT = gql`{
createdAt
profile {
avatar
banner
description
motto
updatedAt
@@ -98,14 +98,6 @@ const TeamsDetails = ({ classes, team }) => {
<Typography variant='subheading' paragraph gutterBottom>
Members: {team.members.length}
</Typography>
<Typography variant='subheading' color='primary'>
Team Admin:&nbsp;
{team.members.map(member => {
if (member.role === 'OWNER' || member.role === 'ADMIN') {
return member.member.alias
}
})}
</Typography>
</div>
</Paper>
</main>