Link to member from transaction
This commit is contained in:
parent
5a6e7914c9
commit
4bde37cd8a
|
@ -269,7 +269,15 @@ export function TransactionDetail(props) {
|
||||||
<Table.Body>
|
<Table.Body>
|
||||||
<Table.Row>
|
<Table.Row>
|
||||||
<Table.Cell>Member:</Table.Cell>
|
<Table.Cell>Member:</Table.Cell>
|
||||||
|
{isAdmin(user) && transaction.member_id ?
|
||||||
|
<Table.Cell>
|
||||||
|
<Link to={'/members/'+transaction.member_id}>
|
||||||
|
{transaction.member_name}
|
||||||
|
</Link>
|
||||||
|
</Table.Cell>
|
||||||
|
:
|
||||||
<Table.Cell>{transaction.member_name}</Table.Cell>
|
<Table.Cell>{transaction.member_name}</Table.Cell>
|
||||||
|
}
|
||||||
</Table.Row>
|
</Table.Row>
|
||||||
<Table.Row>
|
<Table.Row>
|
||||||
<Table.Cell>ID:</Table.Cell>
|
<Table.Cell>ID:</Table.Cell>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user