commit 74b3cdad23542b8075ee60e8f8faa46e980e7f0b
parent 7663595a3cce7c249c95913c94fcd3d573e8abfc
Author: ms <ms@taler.net>
Date: Mon, 31 Jan 2022 15:00:24 +0100
Wire transfer.
Do not offer Taler withdrawal while a
wire transfer outcome is being showed.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/packages/bank/src/pages/home/index.tsx b/packages/bank/src/pages/home/index.tsx
@@ -867,7 +867,7 @@ export function BankHome(): VNode {
{ /**
* No withdrawal is happening: offer to start one.
*/
- !pageState.withdrawalInProgress && <button onClick={() => {
+ !pageState.withdrawalInProgress && !pageState.transferOutcome && <button onClick={() => {
createWithdrawalCall(
"EUR:5",
backendState,
@@ -915,7 +915,7 @@ export function BankHome(): VNode {
{ /**
* Offer wire transfer, if no withdrawal is in progress.
*/
- !pageState.withdrawalInProgress && <Fragment>
+ !pageState.withdrawalInProgress && !pageState.transferOutcome && <Fragment>
<p>Please, include the 'amount' query parameter.</p>
<input
type="text"