diff --git a/src/app/pages/home/home-page.component.html b/src/app/pages/home/home-page.component.html index 0c48ef9..1029f4e 100644 --- a/src/app/pages/home/home-page.component.html +++ b/src/app/pages/home/home-page.component.html @@ -68,7 +68,7 @@
- +
diff --git a/src/app/pages/home/home-page.component.ts b/src/app/pages/home/home-page.component.ts index 8a0b6bb..cb64fcf 100644 --- a/src/app/pages/home/home-page.component.ts +++ b/src/app/pages/home/home-page.component.ts @@ -610,4 +610,15 @@ export class HomePageComponent implements OnInit, OnDestroy { }); return _n; } + + + otherHostSelected(host: Host) { + const foundNode = this.nodes.find(node => { + return node.group === 'host' && node.id === host.address; + }); + if (!foundNode) { + return; + } + this.selectedNode = foundNode; + } } diff --git a/src/commons/component/host-detail.component.html b/src/commons/component/host-detail.component.html index 2b773f2..39c8081 100644 --- a/src/commons/component/host-detail.component.html +++ b/src/commons/component/host-detail.component.html @@ -14,7 +14,7 @@ - +