diff options
author | Sebastian <sebasjm@gmail.com> | 2024-06-19 10:17:19 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-06-19 10:17:19 -0300 |
commit | fdad16202750ef3bf5102870d66edb9b8383a8d4 (patch) | |
tree | 7793c1331e9a0f55a08dea190a86c39ed72e909e /packages/merchant-backoffice-ui/src/paths/instance/accounts/create/CreatePage.tsx | |
parent | 3418a2fcb4b73374b5433052d05978cf9212093c (diff) | |
download | wallet-core-fdad16202750ef3bf5102870d66edb9b8383a8d4.tar.xz |
parse x-taler-bank account when comparing
Diffstat (limited to 'packages/merchant-backoffice-ui/src/paths/instance/accounts/create/CreatePage.tsx')
-rw-r--r-- | packages/merchant-backoffice-ui/src/paths/instance/accounts/create/CreatePage.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/merchant-backoffice-ui/src/paths/instance/accounts/create/CreatePage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/accounts/create/CreatePage.tsx index 21be44a39..8684eb90d 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/accounts/create/CreatePage.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/accounts/create/CreatePage.tsx @@ -21,6 +21,7 @@ import { HttpStatusCode, + PaytoString, PaytoUri, TalerError, TalerMerchantApi, @@ -62,6 +63,7 @@ export function CreatePage({ onCreate, onBack }: Props): VNode { const [importing, setImporting] = useState(false); const [revenuePayto, setRevenuePayto] = useState<PaytoUri | undefined>( + // parsePaytoUri("payto://x-taler-bank/asd.com:1010/asd/pepe"), undefined, ); const [state, setState] = useState<Partial<Entity>>({}); @@ -210,7 +212,7 @@ export function CreatePage({ onCreate, onBack }: Props): VNode { name="payto_uri" label={i18n.str`Account details`} /> - <div class="message-body" style={{marginBottom: 10}}> + <div class="message-body" style={{ marginBottom: 10 }}> <p> <i18n.Translate> If the bank supports Taler Revenue API then you can add the |