diff --git a/src/views/portfolio/components/ComponentSearch.vue b/src/views/portfolio/components/ComponentSearch.vue
index e348084f6..ef9ab9e85 100644
--- a/src/views/portfolio/components/ComponentSearch.vue
+++ b/src/views/portfolio/components/ComponentSearch.vue
@@ -155,7 +155,8 @@
sortable: true,
formatter(value, row, index) {
let url = xssFilters.uriInUnQuotedAttr("../components/" + row.uuid);
- return `${xssFilters.inHTMLData(value)}`;
+ let dependencyGraphUrl = xssFilters.uriInUnQuotedAttr("../../../projects/" + row.project.uuid + "/dependencyGraph/" + row.uuid)
+ return row.project.directDependencies ? ` ` + `${xssFilters.inHTMLData(value)}` : `${xssFilters.inHTMLData(value)}`;
}
},
{