Skip to content

Commit

Permalink
fixed script driver not saving (#422)
Browse files Browse the repository at this point in the history
Co-authored-by: tianywan819 <[email protected]>
  • Loading branch information
tiwa1154 and tianywan819 authored Jul 16, 2024
1 parent b3bf7e8 commit d6be28f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/src/components/builder/executionDomain.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ export const ExecutionDomain = ({onSave}) => {
<Formik
initialValues={{
"script": has_script ? execution_domain["script"] : [],
"script_driver": has_driver ? execution_domain["scriopt+driver"] : "",
"script_driver": has_driver ? execution_domain["script_driver"] : "",
"software_prerequisites": has_prereq ? execution_domain["software_prerequisites"] : [],
"external_data_endpoints": has_external ? execution_domain["external_data_endpoints"] : []
"external_data_endpoints": has_external ? execution_domain["external_data_endpoints"] : [],
"environment_variables": envars,
}}
onSubmit={
(formData, {setSubmitting}) => {
Expand Down

0 comments on commit d6be28f

Please sign in to comment.