From ad17c195c3d5614096586c3907ce83069059718a Mon Sep 17 00:00:00 2001 From: Phil Renaud Date: Tue, 1 Aug 2023 10:42:35 -0400 Subject: [PATCH] long walk for a ham sandwich --- ui/app/components/job-page/parts/title.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ui/app/components/job-page/parts/title.js b/ui/app/components/job-page/parts/title.js index bdaf0dd2181..b4bb411fc04 100644 --- a/ui/app/components/job-page/parts/title.js +++ b/ui/app/components/job-page/parts/title.js @@ -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();