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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
fa195537
Commit
fa195537
authored
Feb 16, 2018
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes to match CE code [ci skip]
parent
514b847e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
app/assets/javascripts/pipelines/pipeline_details_bundle.js
app/assets/javascripts/pipelines/pipeline_details_bundle.js
+2
-3
app/assets/javascripts/pipelines/pipeline_details_mediator.js
...assets/javascripts/pipelines/pipeline_details_mediator.js
+1
-1
No files found.
app/assets/javascripts/pipelines/pipeline_details_bundle.js
View file @
fa195537
...
...
@@ -4,9 +4,8 @@ import Translate from '~/vue_shared/translate';
import
PipelinesMediator
from
'
./pipeline_details_mediator
'
;
import
pipelineGraph
from
'
./components/graph/graph_component.vue
'
;
import
pipelineHeader
from
'
./components/header_component.vue
'
;
import
SecurityReportApp
from
'
./components/security_reports/security_report_app.vue
'
;
import
eventHub
from
'
./event_hub
'
;
import
SecurityReportApp
from
'
./components/security_reports/security_report_app.vue
'
;
Vue
.
use
(
Translate
);
...
...
@@ -59,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
(()
=>
Flash
(
'
An error occurred while making the request.
'
));
},
},
render
(
createElement
)
{
...
...
app/assets/javascripts/pipelines/pipeline_details_mediator.js
View file @
fa195537
...
...
@@ -48,7 +48,7 @@ export default class pipelinesMediator {
errorCallback
()
{
this
.
state
.
isLoading
=
false
;
return
new
Flash
(
'
An error occurred while fetching the pipeline.
'
);
Flash
(
__
(
'
An error occurred while fetching the pipeline.
'
)
);
}
refreshPipeline
()
{
...
...
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