diff options
Diffstat (limited to 'framework/src/onos/web/gui/src/main/webapp/app/fw/svg/icon.js')
-rw-r--r-- | framework/src/onos/web/gui/src/main/webapp/app/fw/svg/icon.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/framework/src/onos/web/gui/src/main/webapp/app/fw/svg/icon.js b/framework/src/onos/web/gui/src/main/webapp/app/fw/svg/icon.js index ba794313..15b44bc9 100644 --- a/framework/src/onos/web/gui/src/main/webapp/app/fw/svg/icon.js +++ b/framework/src/onos/web/gui/src/main/webapp/app/fw/svg/icon.js @@ -64,7 +64,8 @@ nav_devs: 'switch', nav_links: 'ports', nav_hosts: 'endstation', - nav_intents: 'relatedIntents' + nav_intents: 'relatedIntents', + nav_processors: 'allTraffic' }; function ensureIconLibDefs() { @@ -162,6 +163,7 @@ // Returns the D3 selection of the icon. function addDeviceIcon(elem, glyphId) { var cfg = config.device, + gid = gs.glyphDefined(glyphId) ? glyphId : 'query', g = elem.append('g') .attr('class', 'svgIcon deviceIcon'); @@ -174,7 +176,7 @@ }); g.append('use').attr({ - 'xlink:href': '#' + glyphId, + 'xlink:href': '#' + gid, width: cfg.dim, height: cfg.dim }); |