diff --git a/centrifuge-app/src/components/LoanList.tsx b/centrifuge-app/src/components/LoanList.tsx index 03b065e93b..711103b6d4 100644 --- a/centrifuge-app/src/components/LoanList.tsx +++ b/centrifuge-app/src/components/LoanList.tsx @@ -4,6 +4,7 @@ import { AnchorButton, Box, Button, + Checkbox, IconDownload, Pagination, PaginationContainer, @@ -63,6 +64,7 @@ export function LoanList({ loans, snapshots }: Props) { const templateIds = poolMetadata?.loanTemplates?.map((s) => s.id) ?? [] const templateId = templateIds.at(-1) const { data: templateMetadata } = useMetadata(templateId) + const [showRepaid, setShowRepaid] = React.useState(false) const additionalColumns: Column[] = templateMetadata?.keyAttributes?.map((key, index) => { @@ -268,7 +270,17 @@ export function LoanList({ loans, snapshots }: Props) { <> {rows.filter((row) => !row.marketValue?.isZero()).length} ongoing assets - + + + + Show repaid assets + + } + onChange={(e) => setShowRepaid(!showRepaid)} + /> +