Skip to content

Commit 553b73a

Browse files
authored
Resolves: MTV-4565 | modal becomes unresponsive after error (kubev2v#2278)
Signed-off-by: Aviv Turgeman <aturgema@redhat.com>
1 parent a6161fd commit 553b73a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ModalForm/ModalForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ const ModalForm: ModalComponent<ModalFormProps> = ({
9191
variant={confirmVariant ?? ButtonVariant.primary}
9292
onClick={handleConfirm}
9393
isLoading={isLoading}
94-
isDisabled={isLoading || Boolean(error) || isDisabled}
94+
isDisabled={isLoading || isDisabled}
9595
data-testid="modal-confirm-button"
9696
>
9797
{confirmLabel ?? t('Save')}

0 commit comments

Comments
 (0)