Skip to content

Commit

Permalink
disable button if schema not selected
Browse files Browse the repository at this point in the history
  • Loading branch information
sanghoonio committed Dec 4, 2024
1 parent 0c3791f commit 35c0d98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/components/forms/project-upload-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export const ProjectUploadForm = ({ onHide, defaultNamespace }: Props) => {
},
);
}}
disabled={!isValid || isUploading}
disabled={!isValid || isUploading || pepSchema === undefined}
type="button"
id="new-project-submit-btn"
className="btn btn-success float-end"
Expand Down

0 comments on commit 35c0d98

Please sign in to comment.