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:
parent
db4c263180
commit
61164b856e
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue