diff --git a/src/components/TestRunList/BulkOperation.tsx b/src/components/TestRunList/BulkOperation.tsx index a1b43294..e1f1795b 100644 --- a/src/components/TestRunList/BulkOperation.tsx +++ b/src/components/TestRunList/BulkOperation.tsx @@ -204,11 +204,12 @@ export const BulkOperation: React.FunctionComponent = () => { variant: "success", }); }) - .catch((err) => + .catch((err) => { + setIsProcessing(false); enqueueSnackbar(err, { variant: "error", - }) - ); + }); + }); closeModal(); }} />