Skip to content

Commit

Permalink
Update nav per share format
Browse files Browse the repository at this point in the history
  • Loading branch information
kattylucy committed Jan 14, 2025
1 parent d2eede0 commit 04bbd2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion centrifuge-app/src/components/Report/Orders.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const Orders = ({ pool }: { pool: Pool }) => {
align: 'left',
header: 'Nav per share',
sortable: true,
formatter: (v: any) => (v ? formatBalance(v) : '-'),
formatter: (v: any) => (v ? formatBalance(v, undefined, 5, 5) : '-'),
},
{
align: 'left',
Expand Down
2 changes: 1 addition & 1 deletion centrifuge-js/src/modules/pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3995,7 +3995,7 @@ export function getPoolsModule(inst: Centrifuge) {
? new CurrencyBalance(order.sumPoolFeesPaidAmount, poolCurrency.decimals)
: null,
tokenPrice: order.epochStates.nodes[index].tokenPrice
? new CurrencyBalance(order.epochStates.nodes[index].tokenPrice, poolCurrency.decimals)
? new Price(order.epochStates.nodes[index].tokenPrice)
: null,
sumOutstandingInvestOrders: order.epochStates.nodes[index].sumOutstandingInvestOrders
? new CurrencyBalance(order.epochStates.nodes[index].sumOutstandingInvestOrders, poolCurrency.decimals)
Expand Down

0 comments on commit 04bbd2c

Please sign in to comment.