summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Schatz <jschatz@gitlab.com>2018-02-14 15:49:47 -0500
committerJacob Schatz <jschatz@gitlab.com>2018-02-23 15:41:54 -0500
commit57a7a89820217c1d9a99b1387f655c0ed996a345 (patch)
tree05fe7963faa60536b49f98059cff2ea460cedaf2
parent958c0a2c45d7b7e7c2fbb49feb59ff5c00fd2005 (diff)
downloadgitlab-ce-57a7a89820217c1d9a99b1387f655c0ed996a345.tar.gz
Remove webpack bundle
-rw-r--r--app/assets/javascripts/pages/projects/pipelines/show/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/pages/projects/pipelines/show/index.js b/app/assets/javascripts/pages/projects/pipelines/show/index.js
index c02c8631bb2..ff5702c76f2 100644
--- a/app/assets/javascripts/pages/projects/pipelines/show/index.js
+++ b/app/assets/javascripts/pages/projects/pipelines/show/index.js
@@ -1,5 +1,6 @@
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) {