From 7bb81a008b7148cfd3fd656f858e4cbd755531ac Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 20 Feb 2023 13:24:24 -0300 Subject: tell the user that refund is pending --- .../src/wallet/Transaction.tsx | 38 +++++++++++++--------- 1 file changed, 22 insertions(+), 16 deletions(-) (limited to 'packages') diff --git a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx index 5fabfcd20..b9b1aa198 100644 --- a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx +++ b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx @@ -607,29 +607,35 @@ export function TransactionView({ ) : undefined} {pendingRefund !== undefined && Amounts.isNonZero(pendingRefund) && ( - - Merchant created a refund for this order but was not automatically - picked up. - + {transaction.refundQueryActive ? ( + Refund is in progress. + ) : ( + + Merchant created a refund for this order but was not + automatically picked up. + + )} } kind="positive" /> -
-
+ {transaction.refundQueryActive ? undefined : (
- +
+
+ +
-
+ )} )}