From a2ef2e391a8f030857d0f9cd56c6157cffb33659 Mon Sep 17 00:00:00 2001
From: Florian Dold <florian@dold.me>
Date: Wed, 24 May 2023 14:46:03 +0200
Subject: wallet-core: remove legacy non-DD37 tx status fields

---
 packages/taler-wallet-webextension/src/wallet/Transaction.tsx | 5 ++++-
 1 file changed, 4 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 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}
-- 
cgit v1.2.3

