aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/Transaction.tsx')
-rw-r--r--packages/taler-wallet-webextension/src/wallet/Transaction.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
index 6f7c208da..bcf6114a1 100644
--- a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
@@ -19,6 +19,7 @@ import {
Amounts,
NotificationType,
parsePaytoUri,
+ parsePayUri,
Transaction,
TransactionType,
WithdrawalType,
@@ -32,13 +33,14 @@ import { BankDetailsByPaytoType } from "../components/BankDetailsByPaytoType.js"
import { ErrorTalerOperation } from "../components/ErrorTalerOperation.js";
import { Loading } from "../components/Loading.js";
import { LoadingError } from "../components/LoadingError.js";
-import { Part } from "../components/Part.js";
+import { Part, PartPayto } from "../components/Part.js";
import {
Button,
ButtonDestructive,
ButtonPrimary,
CenteredDialog,
InfoBox,
+ LargeText,
ListOfProducts,
Overlay,
RowBorderGray,
@@ -428,6 +430,7 @@ export function TransactionView({
Amounts.parseOrThrow(transaction.amountEffective),
Amounts.parseOrThrow(transaction.amountRaw),
).amount;
+ const payto = parsePaytoUri(transaction.targetPaytoUri);
return (
<TransactionTemplate>
<SubTitle>
@@ -456,6 +459,7 @@ export function TransactionView({
text={<Amount value={fee} />}
kind="negative"
/>
+ {payto && <PartPayto big payto={payto} kind="neutral" />}
</TransactionTemplate>
);
}