Skip to content

Commit

Permalink
fix(ui-fix-schedule-button): ui-fix-schedule-button
Browse files Browse the repository at this point in the history
ui-fix-schedule-button
  • Loading branch information
manor lahagani authored and manor lahagani committed Oct 1, 2020
1 parent afcfa14 commit dc11d86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/features/components/JobForm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ class Form extends React.Component {
<div className={style.buttons}>
<Button style={{ marginRight: '5px' }} inverted onClick={closeDialog}>Cancel</Button>
<Button style={{ marginRight: '5px' }} spinner={processingAction} hover disabled={!this.state.cron_expression || !!this.isThereErrorOnForm()}
onClick={this.whenSubmit}>Schedule</Button>
onClick={() => { this.whenSubmit(false) }}>Schedule</Button>
<Button spinner={processingAction} hover disabled={!!this.isThereErrorOnForm()}
onClick={() => this.whenSubmit(true)}>{this.state.cron_expression ? 'Schedule & Run' : 'Run'}</Button>
</div>
Expand Down

0 comments on commit dc11d86

Please sign in to comment.