mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
Download ordered asset with forever timeout multiple times (#739)
* redownload ordered asset with forever timeout * update check
This commit is contained in:
parent
de519f4969
commit
117c3af5f1
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user