diff options
author | Sebastian <sebasjm@gmail.com> | 2021-12-23 15:17:36 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-12-23 15:17:36 -0300 |
commit | 2e71117f59e0ae6106930e705ae6a54a9839281b (patch) | |
tree | a39856486a2801f56c65de245c871ce596f8ab16 /packages/taler-wallet-webextension/src/wallet/Transaction.tsx | |
parent | b8200de6f6c5ab9be3ff9f556c8acda013e574c3 (diff) | |
download | wallet-core-2e71117f59e0ae6106930e705ae6a54a9839281b.tar.xz |
deposit from wallet webex: wip
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/Transaction.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/Transaction.tsx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx index 22947d0c4..8172e02a2 100644 --- a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx +++ b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx @@ -369,8 +369,8 @@ export function TransactionView({ if (transaction.type === TransactionType.Deposit) { const fee = Amounts.sub( - Amounts.parseOrThrow(transaction.amountRaw), Amounts.parseOrThrow(transaction.amountEffective), + Amounts.parseOrThrow(transaction.amountRaw), ).amount; return ( <TransactionTemplate> @@ -379,15 +379,15 @@ export function TransactionView({ <br /> <Part big - title="Total deposit" + title="Total send" text={amountToString(transaction.amountEffective)} - kind="negative" + kind="neutral" /> <Part big - title="Purchase amount" + title="Deposit amount" text={amountToString(transaction.amountRaw)} - kind="neutral" + kind="positive" /> <Part big title="Fee" text={amountToString(fee)} kind="negative" /> </TransactionTemplate> |