Skip to content

Commit

Permalink
Merge pull request #45 from OHDSI/A#26
Browse files Browse the repository at this point in the history
Fix issue #26
  • Loading branch information
odbz authored Feb 12, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents 9357dbe + c897b1b commit 10bd104
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -109,7 +109,7 @@ export const CreateSubmissionForm: React.FC<CreateSubmissionFormInterfaceProps>
}, []);

useEffect(() => {
setState(defaultState(activeTab === CreateSubmissionFormTabs.SEPARATE_FILES ? AnalysisTypes.STRATEGUS : ""));
setState(defaultState(activeTab === CreateSubmissionFormTabs.SEPARATE_FILES ? AnalysisTypes.STRATEGUS : AnalysisTypes.CUSTOM));
}, [activeTab]);

const getControlsList = async () => {
@@ -436,7 +436,7 @@ export const CreateSubmissionForm: React.FC<CreateSubmissionFormInterfaceProps>
name="type"
disablePortal
id="type"
disabled={controlsList.analysisTypes?.length === 0 || activeTab === CreateSubmissionFormTabs.SEPARATE_FILES}
disabled={controlsList.analysisTypes?.length === 0 || !!state.type}
options={controlsList.analysisTypes}
value={state.type}
placeholder={t("forms.create_submission.analysis_type_placeholder")}

0 comments on commit 10bd104

Please sign in to comment.