UI: Change exec button to not show on dead jobs (#7548)

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.
This commit is contained in:
Buck Doyle 2020-03-31 13:11:26 -05:00 committed by GitHub
parent db4c263180
commit 61164b856e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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"