taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit bc6665fe0580a6588ee9a2d37961ea88270f435c
parent 0dbd63baee99ef1a624addf820c78b88e8f93e2d
Author: Sebastian <sebasjm@gmail.com>
Date:   Mon, 26 May 2025 13:54:03 -0300

fix #9819

Diffstat:
Mpackages/bank-ui/src/pages/regional/CreateCashout.tsx | 17+++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)

diff --git a/packages/bank-ui/src/pages/regional/CreateCashout.tsx b/packages/bank-ui/src/pages/regional/CreateCashout.tsx @@ -472,26 +472,23 @@ export function CreateCashout({ </i18n.Translate> </p> </Fragment> - ) : ( + ) : noSecondFactorChannel ? ( <div class="flex items-center justify-between border-t-2 afu pt-4"> - <Attention type="warning" title={i18n.str`No cashout account`}> + <Attention type="warning" title={i18n.str`Unable to cashout`}> <i18n.Translate> - Before being able to cashout to a bank account, you need to - complete your profile + Cashout is not supported due to lack of 2-FA support. </i18n.Translate> </Attention> </div> - )} - {noSecondFactorChannel ? ( + ) : ( <div class="flex items-center justify-between border-t-2 afu pt-4"> - <Attention type="warning" title={i18n.str`No cashout account`}> + <Attention type="warning" title={i18n.str`Unable to cashout`}> <i18n.Translate> - Cashout is not supported due to lack of 2-FA support. + Before being able to cashout to a bank account, you need to + complete your profile </i18n.Translate> </Attention> </div> - ) : ( - <Fragment /> )} </dl> </section>