diff options
author | Sebastian <sebasjm@gmail.com> | 2024-06-10 15:25:51 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-06-10 15:46:23 -0300 |
commit | 689d58a5c79e98fec733c3cda31146620d8bde1d (patch) | |
tree | 6f37b175ffde2c8460ea35cb13d2f5496412c600 /packages/taler-wallet-webextension/src/cta/Withdraw/views.tsx | |
parent | 034d6bd1aa4fe155accc889831f711bc985cd280 (diff) | |
download | wallet-core-689d58a5c79e98fec733c3cda31146620d8bde1d.tar.xz |
fix #8886
Diffstat (limited to 'packages/taler-wallet-webextension/src/cta/Withdraw/views.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/cta/Withdraw/views.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/Withdraw/views.tsx b/packages/taler-wallet-webextension/src/cta/Withdraw/views.tsx index a4917446d..86d7248a4 100644 --- a/packages/taler-wallet-webextension/src/cta/Withdraw/views.tsx +++ b/packages/taler-wallet-webextension/src/cta/Withdraw/views.tsx @@ -19,6 +19,7 @@ import { Fragment, VNode, h } from "preact"; import { useState } from "preact/hooks"; import { Amount } from "../../components/Amount.js"; import { AmountField } from "../../components/AmountField.js"; +import { EnabledBySettings } from "../../components/EnabledBySettings.js"; import { Part } from "../../components/Part.js"; import { QR } from "../../components/QR.js"; import { SelectList } from "../../components/SelectList.js"; @@ -38,7 +39,6 @@ import { getAmountWithFee, } from "../../wallet/Transaction.js"; import { State } from "./index.js"; -import { EnabledBySettings } from "../../components/EnabledBySettings.js"; export function FinalStateOperation(state: State.AlreadyCompleted): VNode { const { i18n } = useTranslationContext(); @@ -174,6 +174,11 @@ export function SuccessView(state: State.Success): VNode { kind="neutral" big /> + {state.editableAmount ? ( + <Fragment> + <AmountField handler={state.amount} label={i18n.str`Amount`} /> + </Fragment> + ) : undefined} {state.chooseCurrencies.length > 0 ? ( <Fragment> <p> |