Skip to content

Commit

Permalink
feat: add create experiments in job
Browse files Browse the repository at this point in the history
  • Loading branch information
keren-finkelstein-payu-gpo committed Sep 26, 2023
1 parent 4612387 commit 04d7cff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ui/src/features/components/JobForm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ class Form extends React.Component {
optionToValue: { 'Load test': 'load_test', 'Functional test': 'functional_test' },
valueToOption: { load_test: 'Load test', functional_test: 'Functional test' }
},

{
group: 'section_a',
bottom: [
Expand Down Expand Up @@ -193,7 +192,7 @@ class Form extends React.Component {
}
]
},
{
...(props.experiments.length > 0 ? [{
group: 'section_c',
children:
[
Expand Down Expand Up @@ -291,7 +290,7 @@ class Form extends React.Component {
hiddenCondition: (state) => state.add_experiment_form_hidden === true
}
]
},
}] : []),
{
group: 'section_d',
flexDirection: 'column',
Expand Down

0 comments on commit 04d7cff

Please sign in to comment.