diff --git a/packages/workspace/src/command-line/dep-graph/dep-graph.html b/packages/workspace/src/command-line/dep-graph/dep-graph.html index ba029b0cc2c41..3c50bf9d873c9 100644 --- a/packages/workspace/src/command-line/dep-graph/dep-graph.html +++ b/packages/workspace/src/command-line/dep-graph/dep-graph.html @@ -123,7 +123,10 @@ filteredProjectNames.indexOf(d.projectName) > -1 ) { const clazz = - window.affected.indexOf(p) > -1 ? 'affected' : 'no-affected'; + window.affected.indexOf(p) > -1 && + window.affected.indexOf(d.projectName) > -1 + ? 'affected' + : 'no-affected'; const label = d.type === 'implicit' ? 'implicit'