From 21da51d55d31768f93994ac30758bf61cc3d06c3 Mon Sep 17 00:00:00 2001 From: katty barroso Date: Tue, 12 Nov 2024 14:48:06 +0100 Subject: [PATCH] Fix total assets --- centrifuge-app/src/components/LoanList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centrifuge-app/src/components/LoanList.tsx b/centrifuge-app/src/components/LoanList.tsx index 18be9bec1a..8e82233202 100644 --- a/centrifuge-app/src/components/LoanList.tsx +++ b/centrifuge-app/src/components/LoanList.tsx @@ -267,7 +267,7 @@ export function LoanList({ loans }: Props) { return ( <> - {filters.data.map((loan) => loan.status === 'Active').length} ongoing assets + {rows.filter((row) => !row.marketValue?.isZero()).length} ongoing assets