diff options
author | Florian Dold <florian@dold.me> | 2023-05-24 14:46:03 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-05-24 14:46:03 +0200 |
commit | a2ef2e391a8f030857d0f9cd56c6157cffb33659 (patch) | |
tree | 7da5030d2695b4c6ba24b007198726bea6016b13 /packages/taler-wallet-webextension/src/wallet/Transaction.tsx | |
parent | f475f98f86d03e808d2c88c13eafa712c2013fe3 (diff) | |
download | wallet-core-a2ef2e391a8f030857d0f9cd56c6157cffb33659.tar.xz |
wallet-core: remove legacy non-DD37 tx status fields
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/Transaction.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/Transaction.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx index f4c50a8d5..9541cc33f 100644 --- a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx +++ b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx @@ -398,7 +398,10 @@ export function TransactionView({ const raw = Amounts.parseOrThrow(transaction.amountRaw); const effective = Amounts.parseOrThrow(transaction.amountEffective); - if (transaction.type === TransactionType.Withdrawal) { + if ( + transaction.type === TransactionType.Withdrawal || + transaction.type === TransactionType.InternalWithdrawal + ) { return ( <TransactionTemplate transaction={transaction} |