summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/ide/stores/modules/pipelines
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-06-29 17:15:46 +0100
committerPhil Hughes <me@iamphill.com>2018-07-03 16:09:36 +0100
commitb2ff2e8d926ac102a6e29e8ba4bfdcba2177c045 (patch)
tree6fbe28372c7f1d9a5796f035c3193c883ef7b2df /app/assets/javascripts/ide/stores/modules/pipelines
parentb24a55a9f4a60c2e1194b6e3abd71321315ec3e4 (diff)
downloadgitlab-ce-b2ff2e8d926ac102a6e29e8ba4bfdcba2177c045.tar.gz
fixed eslint
Diffstat (limited to 'app/assets/javascripts/ide/stores/modules/pipelines')
-rw-r--r--app/assets/javascripts/ide/stores/modules/pipelines/actions.js7
1 files changed, 4 insertions, 3 deletions
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,
},