1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

disable job selection during actions execution

This commit is contained in:
Enzo Vezzaro 2022-06-02 11:41:06 -04:00
parent c2995223a7
commit 37f7faf7e2

View File

@ -105,7 +105,7 @@ export default function FormStartCompute({
) )
const extendedAlgoAsset: AssetExtended = { const extendedAlgoAsset: AssetExtended = {
...algorithmAsset, ...algorithmAsset,
accessDetails: accessDetails accessDetails
} }
setSelectedAlgorithm(extendedAlgoAsset) setSelectedAlgorithm(extendedAlgoAsset)
} }
@ -169,6 +169,7 @@ export default function FormStartCompute({
{...field} {...field}
options={algorithms} options={algorithms}
component={Input} component={Input}
disabled={isLoading || !isAssetNetwork}
/> />
))} ))}