commit 5fb13fae2461b13c021ed6f2636e179705a3bb19 parent 434bb4af25a1e8d07b6d1a75235b32a818565bc1 Author: Sebastian <sebasjm@gmail.com> Date: Mon, 22 May 2023 14:20:59 -0300 show some info when a refund get the originated purchase deleted Diffstat:
| M | packages/taler-wallet-webextension/src/components/TransactionItem.tsx | | | 8 | ++++++-- |
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/packages/taler-wallet-webextension/src/components/TransactionItem.tsx b/packages/taler-wallet-webextension/src/components/TransactionItem.tsx @@ -92,8 +92,12 @@ export function TransactionItem(props: { tx: Transaction }): VNode { id={tx.transactionId} amount={tx.amountEffective} debitCreditIndicator={"credit"} - subtitle={"tx.info.summary"} //FIXME: DD37 wallet-core is not returning this value - title={"tx.info.merchant.name"} //FIXME: DD37 wallet-core is not returning this value + subtitle={tx.paymentInfo ? tx.paymentInfo.summary : undefined} //FIXME: DD37 wallet-core is not returning this value + title={ + tx.paymentInfo + ? tx.paymentInfo.merchant.name + : "--unknown merchant--" + } //FIXME: DD37 wallet-core is not returning this value timestamp={AbsoluteTime.fromTimestamp(tx.timestamp)} iconPath={"R"} pending={