From 07bad6ead9818650d38a8362d613500456aecf21 Mon Sep 17 00:00:00 2001 From: Bogdan Fazakas Date: Tue, 6 Apr 2021 10:49:50 +0300 Subject: [PATCH] fix get algo asset querry (#476) --- src/components/organisms/AssetActions/Compute/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/organisms/AssetActions/Compute/index.tsx b/src/components/organisms/AssetActions/Compute/index.tsx index 02f94196e..b878c73ac 100644 --- a/src/components/organisms/AssetActions/Compute/index.tsx +++ b/src/components/organisms/AssetActions/Compute/index.tsx @@ -148,7 +148,7 @@ export default function Compute({ trustedAlgorithmList.forEach((trusteAlgo) => { algoQuerry += `id:"${trusteAlgo.did}" OR ` }) - if (trustedAlgorithmList.length > 1) { + if (trustedAlgorithmList.length >= 1) { algoQuerry = algoQuerry.substring(0, algoQuerry.length - 3) } const algorithmQuery =