diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/cta/Withdraw.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/cta/Withdraw.tsx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/Withdraw.tsx b/packages/taler-wallet-webextension/src/cta/Withdraw.tsx index 94f217fc7..5ae1e86ec 100644 --- a/packages/taler-wallet-webextension/src/cta/Withdraw.tsx +++ b/packages/taler-wallet-webextension/src/cta/Withdraw.tsx @@ -214,10 +214,18 @@ export function View({ details, knownExchanges, amount, onWithdraw, onSwitchExch {i18n.str`Confirm withdrawal`} </ButtonSuccess> } - {terms.status === 'notfound' && - <LinkWarning upperCased> + {terms.status === 'notfound' && <Fragment> + <LinkWarning> {i18n.str`Exchange doesn't have terms of service`} </LinkWarning> + <ButtonWarning + upperCased + disabled={!details.exchangeInfo.baseUrl} + onClick={onWithdraw} + > + {i18n.str`Withdraw anyway`} + </ButtonWarning> + </Fragment> } </section> </WalletAction> |