From 64488a55931fa73bb8e216fa068b33fefd9f6c3a Mon Sep 17 00:00:00 2001 From: Sebastian Date: Sun, 29 May 2022 01:42:35 -0300 Subject: use logo, website and emai in purchase details --- .../src/wallet/Transaction.tsx | 40 +++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) (limited to 'packages/taler-wallet-webextension/src/wallet/Transaction.tsx') diff --git a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx index 8165953ab..1170c9222 100644 --- a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx +++ b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx @@ -396,7 +396,45 @@ export function TransactionView({ )} Merchant} - text={transaction.info.merchant.name} + text={ + +
+ {transaction.info.merchant.logo && ( +
+ +
+ )} +
+

{transaction.info.merchant.name}

+ {transaction.info.merchant.website && ( + + + {transaction.info.merchant.website} + + + )} + {transaction.info.merchant.email && ( + + + {transaction.info.merchant.email} + + + )} +
+
+
+ } kind="neutral" />