mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-21 20:08:08 +00:00
Update topology-summary.component.ts
This commit is contained in:
parent
2d588c411d
commit
a6ed6660ca
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user