Commit 115536fb authored by Regis's avatar Regis

use flags for retry and cancel logic

parent c0e5e69f
......@@ -71,7 +71,7 @@
</div>
<div class="cancel-retry-btns inline">
<a
v-if='pipeline.retry_path'
v-if='pipeline.flags.retryable'
class="btn has-tooltip"
title="Retry"
rel="nofollow"
......@@ -81,7 +81,7 @@
<i class="fa fa-repeat"></i>
</a>
<a
v-if='pipeline.cancel_path'
v-if='pipeline.flags.cancelable'
class="btn btn-remove has-tooltip"
title="Cancel"
rel="nofollow"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment