Skip to content

Commit

Permalink
Merge pull request #313 from zakiva/fix_topology_search
Browse files Browse the repository at this point in the history
Topology: Fix second search
  • Loading branch information
mzazrivec authored Feb 8, 2017
2 parents 995b0cb + b5b6d9f commit b6aac44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/assets/javascripts/services/topology_service.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ ManageIQ.angular.app.service('topologyService', function() {

this.searchNode = function(svg, query) {
var nodes = svg.selectAll("g");
nodes.style("opacity", "1");
if (query != "") {
var selected = nodes.filter(function (d) {
return d.item.name.indexOf(query) == -1;
Expand Down

0 comments on commit b6aac44

Please sign in to comment.