aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/components/PendingTransactions.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-webextension/src/components/PendingTransactions.tsx')
-rw-r--r--packages/taler-wallet-webextension/src/components/PendingTransactions.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-webextension/src/components/PendingTransactions.tsx b/packages/taler-wallet-webextension/src/components/PendingTransactions.tsx
index 427c4bfee..3866fc991 100644
--- a/packages/taler-wallet-webextension/src/components/PendingTransactions.tsx
+++ b/packages/taler-wallet-webextension/src/components/PendingTransactions.tsx
@@ -16,9 +16,9 @@
import {
AbsoluteTime,
Amounts,
- ExtendedStatus,
NotificationType,
Transaction,
+ TransactionMajorState,
} from "@gnu-taler/taler-util";
import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
import { Fragment, h, JSX, VNode } from "preact";
@@ -58,7 +58,7 @@ export function PendingTransactions({ goToTransaction }: Props): VNode {
!state || state.hasError
? cache.tx
: state.response.transactions.filter(
- (t) => t.extendedStatus === ExtendedStatus.Pending,
+ (t) => t.txState.major === TransactionMajorState.Pending,
);
if (state && !state.hasError) {