1
0
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:
Matthias Kretschmann 2019-09-12 13:52:50 +02:00
parent e32f3bbb62
commit b77e38c3ab
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -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'
}
]