From 93b12d1193d1683f382e37ac4d7efaaab584bc7f Mon Sep 17 00:00:00 2001 From: Onno Visser Date: Mon, 10 Feb 2025 22:20:59 +0100 Subject: [PATCH] Nav Management: Fix error on submission (#2623) --- centrifuge-app/src/components/DebugFlags/config.ts | 2 +- .../src/pages/NavManagement/NavManagementAssetTable.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/centrifuge-app/src/components/DebugFlags/config.ts b/centrifuge-app/src/components/DebugFlags/config.ts index 16040367f..4099a2bcd 100644 --- a/centrifuge-app/src/components/DebugFlags/config.ts +++ b/centrifuge-app/src/components/DebugFlags/config.ts @@ -136,7 +136,7 @@ export const flagsConfig = { type: 'checkbox', }, showDashboard: { - default: true, + default: false, type: 'checkbox', alwaysShow: true, }, diff --git a/centrifuge-app/src/pages/NavManagement/NavManagementAssetTable.tsx b/centrifuge-app/src/pages/NavManagement/NavManagementAssetTable.tsx index e92dab612..3c8a88a46 100644 --- a/centrifuge-app/src/pages/NavManagement/NavManagementAssetTable.tsx +++ b/centrifuge-app/src/pages/NavManagement/NavManagementAssetTable.tsx @@ -184,7 +184,7 @@ export function NavManagementAssetTable({ poolId }: { poolId: string }) { : { assetId: l.id, name: nftMetas[i]?.name ?? '', - quantity: (l as ActiveLoan).presentValue.toString(), + quantity: (l as ActiveLoan).presentValue?.toString() ?? '0', price: CurrencyBalance.fromFloat(1, pool.currency.decimals).toString(), } ),