Skip to content

Commit

Permalink
UI: Change exec button to not show on dead jobs (#7548)
Browse files Browse the repository at this point in the history
I still want to add acceptance tests for the existence
of these buttons but this change makes the exec button
for jobs behave similarly to the others.
  • Loading branch information
backspace committed Mar 31, 2020
1 parent b931961 commit ce719b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/app/templates/components/job-page/parts/title.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
</div>
{{yield}}
<div>
<div class="two-step-button">
{{exec/open-button job=job}}
</div>
{{#if (not (eq job.status "dead"))}}
<div class="two-step-button">
{{exec/open-button job=job}}
</div>
{{two-step-button
data-test-stop
idleText="Stop"
Expand Down

0 comments on commit ce719b7

Please sign in to comment.