/* global Vue, Flash, gl */ /* eslint-disable no-param-reassign */ ((gl) => { gl.VuePipelineActions = Vue.extend({ props: ['pipeline', 'svgs'], computed: { actions() { return this.pipeline.details.manual_actions.length > 0; }, artifacts() { return this.pipeline.details.artifacts.length > 0; }, }, methods: { download(name) { return `Download ${name} artifacts`; }, }, template: `
`, }); })(window.gl || (window.gl = {}));