diff --git a/src/ui/units/datasets/store/actions/creators/datasetTyped.ts b/src/ui/units/datasets/store/actions/creators/datasetTyped.ts index 3716866491..b03d5757cc 100644 --- a/src/ui/units/datasets/store/actions/creators/datasetTyped.ts +++ b/src/ui/units/datasets/store/actions/creators/datasetTyped.ts @@ -792,6 +792,8 @@ export function validateDataset({compareContent, initial = false}: ValidateDatas if (!initial && error.status === 400 && activateSaveButton && !isFatalError) { dispatch(toggleSaveDataset({enable: true})); + } else if (isFatalError) { + dispatch(toggleSaveDataset({enable: false})); } dispatch({