mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
always show price on asset detail when bigger than 0
This commit is contained in:
parent
e32f3bbb62
commit
b77e38c3ab
@ -53,8 +53,8 @@ export default function AssetDetails({ metadata, ddo }: AssetDetailsProps) {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Price',
|
name: 'Price',
|
||||||
value: `${price === '0' ? 0 : price} OCEAN`,
|
value: `${price} OCEAN`,
|
||||||
show: allowPricing
|
show: price !== '0'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user