Link to member from transaction
This commit is contained in:
@@ -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>
|
||||||
<Table.Cell>{transaction.member_name}</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.Row>
|
</Table.Row>
|
||||||
<Table.Row>
|
<Table.Row>
|
||||||
<Table.Cell>ID:</Table.Cell>
|
<Table.Cell>ID:</Table.Cell>
|
||||||
|
Reference in New Issue
Block a user