Skip to content
Snippets Groups Projects
Unverified Commit 37f5ad2b authored by meskio's avatar meskio :tent:
Browse files

Fix a bug on accessin transactions

parent 4f843993
No related branches found
No related tags found
No related merge requests found
......@@ -41,12 +41,11 @@ function TransactionList() {
setTypes(newTypes);
};
let memberStr = "";
if (transaction.member) {
memberStr = transaction.member.name + " (" + transaction.member.num + ")";
}
const entries = transactions.map((transaction) => {
let memberStr = "";
if (transaction.member) {
memberStr = transaction.member.name + " (" + transaction.member.num + ")";
}
return (
<TransactionTr key={transaction.ID} transaction={transaction}>
<td>{icon(transaction)}</td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment