From 117c3af5f18da32fd6a546d2ad14dc5c101d2589 Mon Sep 17 00:00:00 2001 From: claudiaHash <49017601+claudiaHash@users.noreply.github.com> Date: Fri, 16 Jul 2021 17:46:59 +0300 Subject: [PATCH] Download ordered asset with forever timeout multiple times (#739) * redownload ordered asset with forever timeout * update check --- src/components/organisms/AssetActions/Consume.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/organisms/AssetActions/Consume.tsx b/src/components/organisms/AssetActions/Consume.tsx index d7f2fadc7..ba359cc9c 100644 --- a/src/components/organisms/AssetActions/Consume.tsx +++ b/src/components/organisms/AssetActions/Consume.tsx @@ -74,8 +74,7 @@ export default function Consume({ if (!data || !assetTimeout || data.tokenOrders.length === 0) return const lastOrder = data.tokenOrders[0] - - if (assetTimeout === 'Forever') { + if (assetTimeout === '0') { setPreviousOrderId(lastOrder.tx) setHasPreviousOrder(true) } else {