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
0658a194
Commit
0658a194
authored
Mar 01, 2021
by
Sarah GP
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pass path all the way through
parent
351d1321
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
9 deletions
+2
-9
app/assets/javascripts/pipelines/pipeline_details_bundle.js
app/assets/javascripts/pipelines/pipeline_details_bundle.js
+1
-8
app/assets/javascripts/pipelines/pipeline_details_graph.js
app/assets/javascripts/pipelines/pipeline_details_graph.js
+1
-1
No files found.
app/assets/javascripts/pipelines/pipeline_details_bundle.js
View file @
0658a194
...
...
@@ -93,14 +93,7 @@ export default async function initPipelineDetailsBundle() {
/* webpackChunkName: 'createPipelinesDetailApp' */
'
./pipeline_details_graph
'
);
const
{
metricsPath
,
pipelineProjectPath
,
pipelineIid
}
=
dataset
;
createPipelinesDetailApp
(
SELECTORS
.
PIPELINE_GRAPH
,
pipelineProjectPath
,
pipelineIid
,
metricsPath
,
graphqlResourceEtag
,
);
createPipelinesDetailApp
(
SELECTORS
.
PIPELINE_GRAPH
,
dataset
);
}
catch
{
Flash
(
__
(
'
An error occurred while loading the pipeline.
'
));
}
...
...
app/assets/javascripts/pipelines/pipeline_details_graph.js
View file @
0658a194
...
...
@@ -16,7 +16,7 @@ const apolloProvider = new VueApollo({
),
});
const
createPipelinesDetailApp
=
(
selector
,
pipelineProjectPath
,
pipelineIid
,
metricsPath
,
graphqlResourceEtag
)
=>
{
const
createPipelinesDetailApp
=
(
selector
,
{
pipelineProjectPath
,
pipelineIid
,
metricsPath
,
graphqlResourceEtag
}
=
{}
)
=>
{
// eslint-disable-next-line no-new
new
Vue
({
el
:
selector
,
...
...
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