Commit 08e01d45 authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch '195928-dependency-list-remove-unnecessary-store-module' into 'master'

Remove unused store module in Dependency List

See merge request gitlab-org/gitlab!29055
parents 26086c43 1607eebc
......@@ -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,
......
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