Skip to content

Commit

Permalink
fix: cron workflow initial filter value. Fixes #11685 (#11686)
Browse files Browse the repository at this point in the history
  • Loading branch information
zel0rd authored Aug 27, 2023
1 parent ac9e2de commit 9cb3783
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ export const CronWorkflowSpecEditor = ({onChange, spec}: {spec: CronWorkflowSpec
</div>
<div className='row white-box__details-row'>
<div className='columns small-3'>Concurrency Policy</div>
<div className='columns small-9'>
<div className='columns small-9' style={{lineHeight: '30px'}}>
<Select
placeholder='Select concurrency policy'
options={['Allow', 'Forbid', 'Replace']}
value={spec.concurrencyPolicy}
onChange={x =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ interface Props {
export class CheckboxFilter extends React.Component<Props> {
constructor(props: any) {
super(props);
this.props.items.forEach(item => this.props.selected.push(item.name));
}

public render() {
Expand Down

0 comments on commit 9cb3783

Please sign in to comment.