From a6ed6660cae3cb6ff240aa9bc692826576f55d88 Mon Sep 17 00:00:00 2001 From: Piotr Pekala Date: Mon, 28 Oct 2019 03:57:57 -0700 Subject: [PATCH] Update topology-summary.component.ts --- .../topology-summary/topology-summary.component.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app/components/topology-summary/topology-summary.component.ts b/src/app/components/topology-summary/topology-summary.component.ts index f1e129e1..54693da1 100644 --- a/src/app/components/topology-summary/topology-summary.component.ts +++ b/src/app/components/topology-summary/topology-summary.component.ts @@ -49,6 +49,11 @@ export class TopologySummaryComponent implements OnInit, OnDestroy { this.subscriptions.push( this.nodesDataSource.changes.subscribe((nodes: Node[]) => { this.nodes = nodes; + this.nodes.forEach(n => { + if (n.console_host === '0.0.0.0') { + n.console_host = this.server.host; + } + }); if (this.sortingOrder === 'asc') { this.filteredNodes = nodes.sort(this.compareAsc); } else {