From 91d5d55edc36bde8ac860fd56b0fd2dcb93b150a Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 1 Sep 2022 09:20:59 -0300 Subject: show summary on tx history --- .../src/wallet/History.stories.tsx | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'packages/taler-wallet-webextension/src/wallet') diff --git a/packages/taler-wallet-webextension/src/wallet/History.stories.tsx b/packages/taler-wallet-webextension/src/wallet/History.stories.tsx index e37711b8a..1efd917c8 100644 --- a/packages/taler-wallet-webextension/src/wallet/History.stories.tsx +++ b/packages/taler-wallet-webextension/src/wallet/History.stories.tsx @@ -125,7 +125,9 @@ const exampleData = { push_credit: { ...commonTransaction(), type: TransactionType.PeerPushCredit, - + info: { + summary: "take this cash", + }, exchangeBaseUrl: "https://exchange.taler.net", } as TransactionPeerPushCredit, push_debit: { @@ -133,6 +135,9 @@ const exampleData = { type: TransactionType.PeerPushDebit, talerUri: "taler://pay-push/exchange.taler.ar/HS585JK0QCXHJ8Z8QWZA3EBAY5WY7XNC1RR2MHJXSH2Z4WP0YPJ0", + info: { + summary: "take this cash", + }, exchangeBaseUrl: "https://exchange.taler.net", } as TransactionPeerPushDebit, pull_credit: { @@ -140,12 +145,17 @@ const exampleData = { type: TransactionType.PeerPullCredit, talerUri: "taler://pay-push/exchange.taler.ar/HS585JK0QCXHJ8Z8QWZA3EBAY5WY7XNC1RR2MHJXSH2Z4WP0YPJ0", + info: { + summary: "pay me", + }, exchangeBaseUrl: "https://exchange.taler.net", } as TransactionPeerPullCredit, pull_debit: { ...commonTransaction(), type: TransactionType.PeerPullDebit, - + info: { + summary: "pay me", + }, exchangeBaseUrl: "https://exchange.taler.net", } as TransactionPeerPullDebit, }; -- cgit v1.2.3