Skip to content

Commit

Permalink
fix value
Browse files Browse the repository at this point in the history
  • Loading branch information
onnovisser committed Oct 20, 2023
1 parent 6893dbc commit d858ba9
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,11 @@ export function Details() {
<Box as={icon ? 'img' : 'div'} width="iconLarge" height="iconLarge" src={icon} />
<LabelValueStack label="Pool name" value={metadata?.pool?.name} />

<LabelValueStack label="Asset class" value={metadata?.pool?.asset.class} />
<LabelValueStack
label="Asset class"
value={assetClassLabels[metadata?.pool?.asset.class as AssetClass] ?? metadata?.pool?.asset.class}
/>
<LabelValueStack label="Secondary asset class" value={metadata?.pool?.asset.subClass} />

<LabelValueStack label="Currency" value={currency} />
<LabelValueStack label="POD endpoint" value={metadata?.pod?.node ?? '-'} />
Expand Down

0 comments on commit d858ba9

Please sign in to comment.