diff options
author | Sebastian <sebasjm@gmail.com> | 2022-11-04 15:58:43 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-11-04 15:58:43 -0300 |
commit | 661469f878271a9a8f0f90c5f067dec669f47a36 (patch) | |
tree | 58462e79cd1f92fcdbd257d39ba81006e51e7cce /packages/taler-wallet-webextension/src/components | |
parent | 709ac2349c2b5a73377f8a33669d6349aede1787 (diff) | |
download | wallet-core-661469f878271a9a8f0f90c5f067dec669f47a36.tar.xz |
encode bank account name and show BIC
Diffstat (limited to 'packages/taler-wallet-webextension/src/components')
-rw-r--r-- | packages/taler-wallet-webextension/src/components/BankDetailsByPaytoType.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/taler-wallet-webextension/src/components/BankDetailsByPaytoType.tsx b/packages/taler-wallet-webextension/src/components/BankDetailsByPaytoType.tsx index 3283723e4..e97b3364f 100644 --- a/packages/taler-wallet-webextension/src/components/BankDetailsByPaytoType.tsx +++ b/packages/taler-wallet-webextension/src/components/BankDetailsByPaytoType.tsx @@ -122,7 +122,12 @@ export function BankDetailsByPaytoType({ /> </Fragment> ) : payto.targetType === "iban" ? ( - <Row name={<i18n.Translate>IBAN</i18n.Translate>} value={payto.iban} /> + <Fragment> + {payto.bic !== undefined ? + <Row name={<i18n.Translate>BIC</i18n.Translate>} value={payto.bic} /> + : undefined} + <Row name={<i18n.Translate>IBAN</i18n.Translate>} value={payto.iban} /> + </Fragment> ) : undefined; const receiver = payto.params["receiver"] || undefined; |