Skip to content

Commit

Permalink
Merge pull request #612 from nscuro/fix-broken-outdated-icon-in-depgraph
Browse files Browse the repository at this point in the history
Fix outdated indicator not being displayed in dependency graph
  • Loading branch information
nscuro authored Oct 12, 2023
2 parents 365ab9f + d489224 commit 6355635
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/views/portfolio/projects/ProjectDependencyGraph.vue
Original file line number Diff line number Diff line change
Expand Up @@ -334,11 +334,13 @@ export default {
let dependencies = [...data];
if (dependencies.length > 0) {
for (let dependency of dependencies) {
if (dependency && dependency.directDependencies) {
if (dependency) {
let treeNode = treeNodeMap.get(dependency.uuid);
treeNode.latestVersion = dependency.latestVersion;
let jsonObject = JSON.parse(dependency.directDependencies);
this.$set(treeNode, 'children', this.transformDependenciesToOrgTree(jsonObject, false, treeNode, dependency.uuid, "COMPONENT"));
if (dependency.directDependencies) {
let jsonObject = JSON.parse(dependency.directDependencies);
this.$set(treeNode, 'children', this.transformDependenciesToOrgTree(jsonObject, false, treeNode, dependency.uuid, "COMPONENT"));
}
}
}
}
Expand Down

0 comments on commit 6355635

Please sign in to comment.