Show preview of bio in member list

This commit is contained in:
Tanner Collin 2023-10-12 17:24:36 +09:00
parent ec502bdd15
commit 2c094f763b

View File

@ -259,6 +259,10 @@ export function Members(props) {
: :
<Item.Description>Joined: {x.member.application_date || 'Unknown'}</Item.Description> <Item.Description>Joined: {x.member.application_date || 'Unknown'}</Item.Description>
} }
<Item.Description>
{x.member.public_bio.substring(0, 100)}
{x.member.public_bio.length > 100 && '...'}
</Item.Description>
</> </>
} }
</Item.Content> </Item.Content>
@ -407,4 +411,4 @@ export function MemberDetail(props) {
} }
</Container> </Container>
); );
}; };