diff --git a/app/frontend/javascript/pipeline-graph/index.js b/app/frontend/javascript/pipeline-graph/index.js index 9b3d477f8..9e4b0cdeb 100644 --- a/app/frontend/javascript/pipeline-graph/index.js +++ b/app/frontend/javascript/pipeline-graph/index.js @@ -226,6 +226,8 @@ const applyMouseEvents = function () { // when an edge is clicked, filter the graph to show only that pipeline core.on('click', 'edge', (event) => { const pipeline = event.target.data('pipeline') - applyFilter(pipeline) + const group = event.target.data('group') + const pipelineOrGroup = pipeline || group + applyFilter(pipelineOrGroup) }) }