From 37f7faf7e27d1fb9ed2b772c27306e3402800ebc Mon Sep 17 00:00:00 2001 From: Enzo Vezzaro Date: Thu, 2 Jun 2022 11:41:06 -0400 Subject: [PATCH] disable job selection during actions execution --- .../Asset/AssetActions/Compute/FormComputeDataset.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Asset/AssetActions/Compute/FormComputeDataset.tsx b/src/components/Asset/AssetActions/Compute/FormComputeDataset.tsx index 8f8c16dfb..bddbce30c 100644 --- a/src/components/Asset/AssetActions/Compute/FormComputeDataset.tsx +++ b/src/components/Asset/AssetActions/Compute/FormComputeDataset.tsx @@ -105,7 +105,7 @@ export default function FormStartCompute({ ) const extendedAlgoAsset: AssetExtended = { ...algorithmAsset, - accessDetails: accessDetails + accessDetails } setSelectedAlgorithm(extendedAlgoAsset) } @@ -169,6 +169,7 @@ export default function FormStartCompute({ {...field} options={algorithms} component={Input} + disabled={isLoading || !isAssetNetwork} /> ))}