Link to Cards page from Home details

This commit is contained in:
Tanner Collin 2020-02-28 09:30:22 +00:00
parent 7f46c1f747
commit bc067f5d6d

View File

@ -91,7 +91,10 @@ function MemberInfo(props) {
</Table.Row> </Table.Row>
<Table.Row> <Table.Row>
<Table.Cell>Card Number:</Table.Cell> <Table.Cell>Card Number:</Table.Cell>
<Table.Cell>{lastCard && lastCard.card_number || 'None'}</Table.Cell> <Table.Cell>
{lastCard && lastCard.card_number || 'None'}
{user.cards.length > 1 && <Link to='/cards'> [more]</Link>}
</Table.Cell>
</Table.Row> </Table.Row>
</Table.Body> </Table.Body>
</BasicTable> </BasicTable>