Skip to content

Commit

Permalink
fix(ui): do not check isValid on Sonarr/Radarr modals for the test bu…
Browse files Browse the repository at this point in the history
…tton
  • Loading branch information
sct committed Mar 19, 2021
1 parent c3c6227 commit 0974a4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/components/Settings/RadarrModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,7 @@ const RadarrModal: React.FC<RadarrModalProps> = ({
!values.hostname ||
!values.port ||
isTesting ||
isSubmitting ||
!isValid
isSubmitting
}
okDisabled={!isValidated || isSubmitting || isTesting || !isValid}
onOk={() => handleSubmit()}
Expand Down
3 changes: 1 addition & 2 deletions src/components/Settings/SonarrModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,7 @@ const SonarrModal: React.FC<SonarrModalProps> = ({
!values.hostname ||
!values.port ||
isTesting ||
isSubmitting ||
!isValid
isSubmitting
}
okDisabled={!isValidated || isSubmitting || isTesting || !isValid}
onOk={() => handleSubmit()}
Expand Down

0 comments on commit 0974a4c

Please sign in to comment.