commit e78656bd194367df94117f44406931506e4aa06a
parent f246313524e5f6dbb31bed65d54f28cea1582f34
Author: Sebastian <sebasjm@taler-systems.com>
Date: Thu, 23 Apr 2026 14:59:16 -0300
show better payto format on wire transfer list
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/packages/merchant-backoffice-ui/src/paths/instance/transfers/list/index.tsx b/packages/merchant-backoffice-ui/src/paths/instance/transfers/list/index.tsx
@@ -23,6 +23,8 @@ import {
BankAccountEntry,
ExpectedTransferEntry,
HttpStatusCode,
+ Paytos,
+ Result,
TalerError,
TransferDetails,
assertUnreachable,
@@ -203,6 +205,10 @@ function ListTransferInternal({
if (idx === -1) return undefined;
return d;
}}
+ toStr={(d) => {
+ const pt = Result.orUndefined(Paytos.fromString(d))
+ return pt?.displayName ?? d
+ }}
placeholder={i18n.str`All accounts`}
tooltip={i18n.str`Filter by account address`}
/>