aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/onos/web/gui/src/main/webapp/app/view/topo/topoOverlay.js
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/onos/web/gui/src/main/webapp/app/view/topo/topoOverlay.js')
-rw-r--r--framework/src/onos/web/gui/src/main/webapp/app/view/topo/topoOverlay.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/framework/src/onos/web/gui/src/main/webapp/app/view/topo/topoOverlay.js b/framework/src/onos/web/gui/src/main/webapp/app/view/topo/topoOverlay.js
index 2dee4c40..fb7921ad 100644
--- a/framework/src/onos/web/gui/src/main/webapp/app/view/topo/topoOverlay.js
+++ b/framework/src/onos/web/gui/src/main/webapp/app/view/topo/topoOverlay.js
@@ -312,8 +312,11 @@
}
data.hosts.forEach(function (host) {
- var hdata = api.findNodeById(host.id);
+ var hdata = api.findNodeById(host.id),
+ badgeData = host.badge || null;
+
if (hdata && !hdata.el.empty()) {
+ hdata.badge = badgeData;
if (!host.subdue) {
api.unsupNode(hdata.id, less);
}