Skip to content

Commit

Permalink
long walk for a ham sandwich
Browse files Browse the repository at this point in the history
  • Loading branch information
philrenaud committed Aug 1, 2023
1 parent 18dd9e7 commit ad17c19
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ui/app/components/job-page/parts/title.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,8 @@ export default class Title extends Component {
*/
@task(function* (withNotifications = false) {
const job = this.job;
const definition = yield job.fetchRawDefinition();

delete definition.Stop;
job.set('_newDefinition', JSON.stringify(definition));
const specification = yield job.fetchRawSpecification();
job.set('_newDefinition', specification.Source);

try {
yield job.parse();
Expand Down

0 comments on commit ad17c19

Please sign in to comment.