From 0c4156bcb30cf30006abc7917ed77b3694121773 Mon Sep 17 00:00:00 2001 From: Jeroen Offerijns Date: Fri, 19 Jan 2024 22:01:07 +0100 Subject: [PATCH] Remove a few asset list cols --- .../src/components/Report/AssetList.tsx | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/centrifuge-app/src/components/Report/AssetList.tsx b/centrifuge-app/src/components/Report/AssetList.tsx index 8fb43c6d13..7f024adf79 100644 --- a/centrifuge-app/src/components/Report/AssetList.tsx +++ b/centrifuge-app/src/components/Report/AssetList.tsx @@ -1,4 +1,4 @@ -import { Loan, Pool, Rate } from '@centrifuge/centrifuge-js' +import { Loan, Pool } from '@centrifuge/centrifuge-js' import { Text } from '@centrifuge/fabric' import * as React from 'react' import { formatDate } from '../../utils/date' @@ -22,9 +22,9 @@ const headers = [ 'Maturity date', 'Interest rate', 'Advance rate', - 'PD', - 'LGD', - 'Discount rate', + // 'PD', + // 'LGD', + // 'Discount rate', ] const columns = headers.map((col, index) => ({ @@ -63,13 +63,13 @@ export function AssetList({ pool }: { pool: Pool }) { formatDate(loan.pricing.maturityDate), 'interestRate' in loan.pricing ? formatPercentage(loan.pricing.interestRate.toPercent()) : '-', 'advanceRate' in loan.pricing ? formatPercentage(loan.pricing.advanceRate.toPercent()) : '-', - 'probabilityOfDefault' in loan.pricing - ? formatPercentage((loan.pricing.probabilityOfDefault as Rate).toPercent()) - : '-', - 'lossGivenDefault' in loan.pricing - ? formatPercentage((loan.pricing.lossGivenDefault as Rate).toPercent()) - : '-', - 'discountRate' in loan.pricing ? formatPercentage((loan.pricing.discountRate as Rate).toPercent()) : '-', + // 'probabilityOfDefault' in loan.pricing + // ? formatPercentage((loan.pricing.probabilityOfDefault as Rate).toPercent()) + // : '-', + // 'lossGivenDefault' in loan.pricing + // ? formatPercentage((loan.pricing.lossGivenDefault as Rate).toPercent()) + // : '-', + // 'discountRate' in loan.pricing ? formatPercentage((loan.pricing.discountRate as Rate).toPercent()) : '-', ], heading: false, }))