Commit 5b0be426 authored by Andrew Fontaine's avatar Andrew Fontaine

Merge branch '219022-fix-pipelines-apps-not-loading' into 'master'

Abort DAG app init if selector doesn't exist

See merge request gitlab-org/gitlab!32966
parents 01cf3789 b05012b6
......@@ -147,6 +147,9 @@ const createTestDetails = detailsEndpoint => {
const createDagApp = () => {
const el = document.querySelector('#js-pipeline-dag-vue');
if (!el) {
return;
}
const graphUrl = el.dataset?.pipelineDataPath;
// eslint-disable-next-line no-new
new Vue({
......
---
title: Fix a bug where some Vue apps would be unable to load when DAG tab is disabled
merge_request: 32966
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment