diff options
author | Sebastian <sebasjm@gmail.com> | 2023-02-13 09:28:42 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-02-13 09:28:42 -0300 |
commit | bb6644367bc014fcc09e44a7b32c2f58861ac835 (patch) | |
tree | 570762868d0c2edbaf79a810c6eeadc5a6813dab /packages/taler-wallet-webextension | |
parent | 22cb8adaa6d9584ad7638b9019b6d0c3eb7158bf (diff) |
fix #7468
Diffstat (limited to 'packages/taler-wallet-webextension')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/Transaction.tsx | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx index 94d853d9a..d91f621db 100644 --- a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx +++ b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx @@ -413,6 +413,7 @@ export function TransactionView({ {transaction.extendedStatus !== ExtendedStatus.Pending ? undefined : transaction.withdrawalDetails .type === WithdrawalType.ManualTransfer ? ( + //manual withdrawal <Fragment> <BankDetailsByPaytoType amount={raw} @@ -463,6 +464,7 @@ export function TransactionView({ </WarningBox> </Fragment> ) : ( + //integrated bank withdrawal <Fragment> {!transaction.withdrawalDetails.confirmed && transaction.withdrawalDetails.bankConfirmationUrl ? ( @@ -484,14 +486,23 @@ export function TransactionView({ </div> </InfoBox> ) : undefined} - {transaction.withdrawalDetails.confirmed && ( - <InfoBox> - <i18n.Translate> - Bank has confirmed the wire transfer. Waiting for the exchange - to send the coins - </i18n.Translate> - </InfoBox> - )} + {transaction.withdrawalDetails.confirmed && + !transaction.withdrawalDetails.reserveIsReady && ( + <InfoBox> + <i18n.Translate> + Bank has confirmed the wire transfer. Waiting for the + exchange to send the coins + </i18n.Translate> + </InfoBox> + )} + {transaction.withdrawalDetails.confirmed && + transaction.withdrawalDetails.reserveIsReady && ( + <InfoBox> + <i18n.Translate> + Exchange is ready to send the coins, withdrawal in progress. + </i18n.Translate> + </InfoBox> + )} </Fragment> )} <Part |