Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-06-29 19:15:46 +0300
committerPhil Hughes <me@iamphill.com>2018-07-03 18:09:36 +0300
commitb2ff2e8d926ac102a6e29e8ba4bfdcba2177c045 (patch)
tree6fbe28372c7f1d9a5796f035c3193c883ef7b2df /app
parentb24a55a9f4a60c2e1194b6e3abd71321315ec3e4 (diff)
fixed eslint
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/ide/stores/modules/commit/actions.js1
-rw-r--r--app/assets/javascripts/ide/stores/modules/pipelines/actions.js7
2 files changed, 4 insertions, 4 deletions
diff --git a/app/assets/javascripts/ide/stores/modules/commit/actions.js b/app/assets/javascripts/ide/stores/modules/commit/actions.js
index de55b8226f1..7828c31f20e 100644
--- a/app/assets/javascripts/ide/stores/modules/commit/actions.js
+++ b/app/assets/javascripts/ide/stores/modules/commit/actions.js
@@ -1,7 +1,6 @@
import $ from 'jquery';
import { sprintf, __ } from '~/locale';
import flash from '~/flash';
-import { stripHtml } from '~/lib/utils/text_utility';
import * as rootTypes from '../../mutation_types';
import { createCommitPayload, createNewMergeRequestUrl } from '../../utils';
import router from '../../../ide_router';
diff --git a/app/assets/javascripts/ide/stores/modules/pipelines/actions.js b/app/assets/javascripts/ide/stores/modules/pipelines/actions.js
index 5d5628016ce..ba8e1676513 100644
--- a/app/assets/javascripts/ide/stores/modules/pipelines/actions.js
+++ b/app/assets/javascripts/ide/stores/modules/pipelines/actions.js
@@ -1,7 +1,6 @@
import Visibility from 'visibilityjs';
import axios from 'axios';
import { __ } from '../../../../locale';
-import flash from '../../../../flash';
import Poll from '../../../../lib/utils/poll';
import service from '../../../services';
import { rightSidebarViews } from '../../../constants';
@@ -85,8 +84,10 @@ export const receiveJobsError = ({ commit, dispatch }, stage) => {
'setErrorMessage',
{
text: __('An error occured whilst loading the pipelines jobs.'),
- action: stage =>
- dispatch('fetchJobs', stage).then(() => dispatch('setErrorMessage', null, { root: true })),
+ action: payload =>
+ dispatch('fetchJobs', payload).then(() =>
+ dispatch('setErrorMessage', null, { root: true }),
+ ),
actionText: __('Please try again'),
actionPayload: stage,
},