commit | ee545769678fa5d5d5b75b10afc32bd78a58b001 | [log] [tgz] |
---|---|---|
author | Sean Condon <sean.condon@microsemi.com> | Sat Mar 09 10:43:58 2019 +0000 |
committer | Sean Condon <scondo01@gmail.com> | Mon Mar 11 09:44:10 2019 +0000 |
tree | 98008f3735efea601cba84ad52798e88d4d89bfc | |
parent | fe1bc066228744e850b929ede8d47cf7b8930d98 [diff] [blame] |
GUI2 Handle node additions and removals in Topology view Change-Id: Ic16fc1325fe338e2136f1cc70febc621342be4f2
diff --git a/web/gui2/src/main/webapp/app/view/topology/layer/forcesvg/forcesvg.component.html b/web/gui2/src/main/webapp/app/view/topology/layer/forcesvg/forcesvg.component.html index b673b24..58606e9 100644 --- a/web/gui2/src/main/webapp/app/view/topology/layer/forcesvg/forcesvg.component.html +++ b/web/gui2/src/main/webapp/app/view/topology/layer/forcesvg/forcesvg.component.html
@@ -89,7 +89,7 @@ <svg:g onos-hostnodesvg [host]="host" *ngFor="let host of regionData.hosts[visibleLayerIdx()]" onosDraggableNode [draggableNode]="host" [draggableInGraph]="graph" - (newLocation)="nodeMoved('host', device.id, $event)" + (newLocation)="nodeMoved('host', host.id, $event)" (selectedEvent)="updateSelected($event)" [labelToggle]="hostLabelToggle" [scale]="scale">