Commit 57a7a898 authored by Jacob Schatz's avatar Jacob Schatz

Remove webpack bundle

parent 958c0a2c
import Vue from 'vue';
import { __ } from '../../../../locale';
import Flash from '../../../../flash';
import PipelinesMediator from '../../../../pipelines/pipeline_details_mediatior';
import pipelineGraph from '../../../../pipelines/components/graph/graph_component.vue';
......@@ -57,7 +58,7 @@ document.addEventListener('DOMContentLoaded', () => {
postAction(action) {
this.mediator.service.postAction(action.path)
.then(() => this.mediator.refreshPipeline())
.catch(() => new Flash('An error occurred while making the request.'));
.catch(() => new Flash(__('An error occurred while making the request.')));
},
},
render(createElement) {
......
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