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',
|
||||
value: `${price === '0' ? 0 : price} OCEAN`,
|
||||
show: allowPricing
|
||||
value: `${price} OCEAN`,
|
||||
show: price !== '0'
|
||||
}
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user