Skip to content

Commit

Permalink
🐛 : fix retry action in job edition page
Browse files Browse the repository at this point in the history
  • Loading branch information
cdubuisson committed Feb 3, 2020
1 parent 137ffd9 commit 84d4b2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/templates/job.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ <h2>Stack {{stack.name}}</h2>

let interval;
function planOrApplyJob(type) {
if (editionMode) return;
if (editionMode && 'retry' !== type) return;
return $.post(`/api/jobs/${jobId}/${type}`)
.then(_ => interval = setInterval(refreshJob, 1000));
}
Expand Down

0 comments on commit 84d4b2f

Please sign in to comment.