diff --git a/src/@utils/assetConvertor.ts b/src/@utils/assetConvertor.ts index c8f89e953..8fce163b2 100644 --- a/src/@utils/assetConvertor.ts +++ b/src/@utils/assetConvertor.ts @@ -14,7 +14,7 @@ export async function transformAssetToAssetSelection( getServiceByName(asset, 'compute') || getServiceByName(asset, 'access') if ( - asset?.stats?.price?.value && + asset?.stats?.price?.value >= 0 && algoService?.serviceEndpoint === datasetProviderEndpoint ) { let selected = false diff --git a/src/components/Asset/AssetActions/Compute/index.tsx b/src/components/Asset/AssetActions/Compute/index.tsx index e4731583e..6333af8a0 100644 --- a/src/components/Asset/AssetActions/Compute/index.tsx +++ b/src/components/Asset/AssetActions/Compute/index.tsx @@ -498,20 +498,14 @@ export default function Compute({ {isUnsupportedPricing ? null : asset.metadata.type === 'algorithm' ? ( - <> - {asset.services[0].type === 'compute' && ( - - )} - - + ) ) : (