FIX: unpaid ln invoices were rendered as paid

This commit is contained in:
overtorment 2024-12-16 11:16:44 +00:00
parent 5e2e0b58c2
commit 750308725e

View File

@ -164,6 +164,11 @@ export const TransactionListItem: React.FC<TransactionListItemProps> = React.mem
label: loc.transactions.expired_transaction,
icon: <TransactionExpiredIcon />,
};
} else if (!item.ispaid) {
return {
label: loc.transactions.expired_transaction,
icon: <TransactionPendingIcon />,
};
} else {
return {
label: loc.transactions.incoming_transaction,