Skip to content

Commit

Permalink
fix: prevent multiple submits in hyperparameter modal
Browse files Browse the repository at this point in the history
  • Loading branch information
keita-determined committed Aug 29, 2024
1 parent ad5fe5a commit 661286f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webui/react/src/components/HyperparameterSearchModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ const HyperparameterSearchModal = ({ closeModal, experiment, trial }: Props): JS
<Row>
<Button onClick={handleCancel}>Cancel</Button>
<Button
disabled={validationError}
disabled={validationError || isSubmitting}
loading={isSubmitting}
type="primary"
onClick={handleOk}>
Expand Down

0 comments on commit 661286f

Please sign in to comment.