From 57a7a89820217c1d9a99b1387f655c0ed996a345 Mon Sep 17 00:00:00 2001 From: Jacob Schatz Date: Wed, 14 Feb 2018 15:49:47 -0500 Subject: Remove webpack bundle --- app/assets/javascripts/pages/projects/pipelines/show/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- cgit v1.2.1