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

Merge branch 'ff-pipeline-bundle' into 'master'

DAG MVC: Check feature flag explicitly

See merge request gitlab-org/gitlab!33188
parents d09642e1 15ff97d2
......@@ -146,11 +146,12 @@ const createTestDetails = detailsEndpoint => {
};
const createDagApp = () => {
const el = document.querySelector('#js-pipeline-dag-vue');
if (!el) {
if (!window.gon?.features?.dagPipelineTab) {
return;
}
const graphUrl = el.dataset?.pipelineDataPath;
const el = document.querySelector('#js-pipeline-dag-vue');
const graphUrl = el?.dataset?.pipelineDataPath;
// eslint-disable-next-line no-new
new Vue({
el,
......
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