diff --git a/ee/app/assets/javascripts/dependencies/index.js b/ee/app/assets/javascripts/dependencies/index.js index d084e6c5eb1bd642c2d72f1176e816efca6f81c6..c00a54c6a546f0eb8c30995a9902293a5564544d 100644 --- a/ee/app/assets/javascripts/dependencies/index.js +++ b/ee/app/assets/javascripts/dependencies/index.js @@ -9,7 +9,10 @@ export default () => { const { endpoint, emptyStateSvgPath, documentationPath, supportDocumentationPath } = el.dataset; const store = createStore(); - addListType(store, DEPENDENCY_LIST_TYPES.vulnerable); + + if (!gon.features?.dependencyListUi) { + addListType(store, DEPENDENCY_LIST_TYPES.vulnerable); + } return new Vue({ el,