BigW Consortium Gitlab

Commit aa6fa88b by Regis

api call for retry almost done

parent 86be72ae
/* global Vue, gl */ /* global Vue, Flash, gl */
/* eslint-disable no-param-reassign */ /* eslint-disable no-param-reassign */
((gl) => { ((gl) => {
...@@ -10,6 +10,14 @@ ...@@ -10,6 +10,14 @@
download(name) { download(name) {
return `Download ${name} artifacts`; return `Download ${name} artifacts`;
}, },
// retry(e) {
// e.preventDefault();
// this.$http.post(this.pipeline.retry_url, {
// pipeline: { id: this.pipeline.id },
// })
// .then(() => {})
// .catch(() => new Flash('Something went wrong on our end.'));
// },
}, },
template: ` template: `
<td class="pipeline-actions hidden-xs"> <td class="pipeline-actions hidden-xs">
...@@ -60,6 +68,7 @@ ...@@ -60,6 +68,7 @@
</div> </div>
</div> </div>
<div class="cancel-retry-btns inline"> <div class="cancel-retry-btns inline">
<!-- @click='retry($event)' -->
<a <a
v-if='!pipeline.cancel_url' v-if='!pipeline.cancel_url'
class="btn has-tooltip" class="btn has-tooltip"
......
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