aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/wallet/History.stories.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-09-01 08:42:18 -0300
committerSebastian <sebasjm@gmail.com>2022-09-01 08:42:45 -0300
commit5e7812d63e3e51dbcc9d0d313a3074f9d5d16478 (patch)
treeffa79ebc84ef228b577eaa79800a54f1bb35127d /packages/taler-wallet-webextension/src/wallet/History.stories.tsx
parent94eeab8ad011d26e447b691a2deaccb91dee1fb7 (diff)
downloadwallet-core-5e7812d63e3e51dbcc9d0d313a3074f9d5d16478.tar.xz
show sharing action when the tx is not completed
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/History.stories.tsx')
-rw-r--r--packages/taler-wallet-webextension/src/wallet/History.stories.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/History.stories.tsx b/packages/taler-wallet-webextension/src/wallet/History.stories.tsx
index 335d5ea9c..e37711b8a 100644
--- a/packages/taler-wallet-webextension/src/wallet/History.stories.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/History.stories.tsx
@@ -51,9 +51,9 @@ const commonTransaction = (): TransactionCommon =>
amountEffective: "USD:9",
pending: false,
timestamp: TalerProtocolTimestamp.fromSeconds(
- new Date().getTime() - count++ * 60 * 60 * 7,
+ new Date().getTime() / 1000 - count++ * 60 * 60 * 7,
),
- transactionId: "12",
+ transactionId: String(count),
} as TransactionCommon);
const exampleData = {
@@ -145,6 +145,7 @@ const exampleData = {
pull_debit: {
...commonTransaction(),
type: TransactionType.PeerPullDebit,
+
exchangeBaseUrl: "https://exchange.taler.net",
} as TransactionPeerPullDebit,
};