Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
b2ff2e8d
Commit
b2ff2e8d
authored
Jun 29, 2018
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed eslint
parent
b24a55a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/assets/javascripts/ide/stores/modules/commit/actions.js
app/assets/javascripts/ide/stores/modules/commit/actions.js
+0
-1
app/assets/javascripts/ide/stores/modules/pipelines/actions.js
...ssets/javascripts/ide/stores/modules/pipelines/actions.js
+4
-3
No files found.
app/assets/javascripts/ide/stores/modules/commit/actions.js
View file @
b2ff2e8d
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
'
;
...
...
app/assets/javascripts/ide/stores/modules/pipelines/actions.js
View file @
b2ff2e8d
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
,
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment