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
b05012b6
Commit
b05012b6
authored
May 25, 2020
by
Paul Gascou-Vaillancourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Abort DAG app init if selector doesn't exist
parent
4f52eaa0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
app/assets/javascripts/pipelines/pipeline_details_bundle.js
app/assets/javascripts/pipelines/pipeline_details_bundle.js
+3
-0
changelogs/unreleased/219022-fix-pipelines-apps-not-loading.yml
...logs/unreleased/219022-fix-pipelines-apps-not-loading.yml
+5
-0
No files found.
app/assets/javascripts/pipelines/pipeline_details_bundle.js
View file @
b05012b6
...
@@ -147,6 +147,9 @@ const createTestDetails = detailsEndpoint => {
...
@@ -147,6 +147,9 @@ const createTestDetails = detailsEndpoint => {
const
createDagApp
=
()
=>
{
const
createDagApp
=
()
=>
{
const
el
=
document
.
querySelector
(
'
#js-pipeline-dag-vue
'
);
const
el
=
document
.
querySelector
(
'
#js-pipeline-dag-vue
'
);
if
(
!
el
)
{
return
;
}
const
graphUrl
=
el
.
dataset
?.
pipelineDataPath
;
const
graphUrl
=
el
.
dataset
?.
pipelineDataPath
;
// eslint-disable-next-line no-new
// eslint-disable-next-line no-new
new
Vue
({
new
Vue
({
...
...
changelogs/unreleased/219022-fix-pipelines-apps-not-loading.yml
0 → 100644
View file @
b05012b6
---
title
:
Fix a bug where some Vue apps would be unable to load when DAG tab is disabled
merge_request
:
32966
author
:
type
:
fixed
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