Skip to content

Commit

Permalink
Merge branch 'main' into fix-pod-auth
Browse files Browse the repository at this point in the history
  • Loading branch information
onnovisser authored Sep 6, 2023
2 parents 81502d3 + 8e832a5 commit 23bb4ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion centrifuge-app/src/pages/Pools.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function poolsToPoolCardProps(
status:
tinlakePool && tinlakePool.addresses.CLERK !== undefined && tinlakePool.tinlakeMetadata.maker?.ilk
? 'Maker Pool'
: pool.tranches.at(-1)?.capacity.toFloat()
: pool.tranches.at(0)?.capacity.toFloat() // pool is displayed as "open for investments" if the most junior tranche has a capacity
? 'Open for investments'
: ('Closed' as PoolStatusKey),
iconUri: metaData?.pool?.icon?.uri ? cent.metadata.parseMetadataUrl(metaData?.pool?.icon?.uri) : undefined,
Expand Down

0 comments on commit 23bb4ec

Please sign in to comment.