diff --git a/src/@utils/aquarius.ts b/src/@utils/aquarius.ts index 8092f794d..96985125a 100644 --- a/src/@utils/aquarius.ts +++ b/src/@utils/aquarius.ts @@ -291,7 +291,7 @@ export async function getAlgorithmDatasetsForCompute( must: { match: { 'services.compute.publisherTrustedAlgorithms.did': { - query: escapeEsReservedCharacters(algorithmId) + query: algorithmId } } } @@ -304,7 +304,6 @@ export async function getAlgorithmDatasetsForCompute( const query = generateBaseQuery(baseQueryParams) const computeDatasets = await queryMetadata(query, cancelToken) - if (computeDatasets?.totalResults === 0) return [] const datasets = await transformAssetToAssetSelection( diff --git a/src/@utils/assetConvertor.ts b/src/@utils/assetConvertor.ts index 659c1e5c2..2b143b591 100644 --- a/src/@utils/assetConvertor.ts +++ b/src/@utils/assetConvertor.ts @@ -14,11 +14,12 @@ export async function transformAssetToAssetSelection( const algorithmList: AssetSelectionAsset[] = [] for (const asset of extendedAssets) { - const algoComputeService = getServiceByName(asset, 'compute') + const algoService = + getServiceByName(asset, 'compute') || getServiceByName(asset, 'access') if ( asset?.accessDetails?.price && - algoComputeService?.serviceEndpoint === datasetProviderEndpoint + algoService?.serviceEndpoint === datasetProviderEndpoint ) { let selected = false selectedAlgorithms?.forEach((algorithm: PublisherTrustedAlgorithm) => { diff --git a/src/components/Asset/AssetActions/Download.module.css b/src/components/Asset/AssetActions/Download.module.css index b56cc46b1..a52cf48b6 100644 --- a/src/components/Asset/AssetActions/Download.module.css +++ b/src/components/Asset/AssetActions/Download.module.css @@ -2,7 +2,6 @@ width: auto; margin-bottom: calc(var(--spacer) / 2); margin-top: -1rem; - margin-left: -2rem; } .info {