diff --git a/src/commons/component/host-detail.component.ts b/src/commons/component/host-detail.component.ts index 83eccaa..f848842 100644 --- a/src/commons/component/host-detail.component.ts +++ b/src/commons/component/host-detail.component.ts @@ -53,11 +53,9 @@ export class HostDetailComponent implements OnChanges { .call('PingService.PingHost', this.host, option) .pipe( map((pingResult: PingResult) => { - console.log(pingResult); if (pingResult) { this.pingResult = pingResult; - console.log(pingResult.raw); - this.pingResultRaw = pingResult.raw.join(''); + this.pingResultRaw = pingResult.raw.join('\r\n'); } this.pingWaiting = false; }), diff --git a/src/commons/component/node-detail.component.ts b/src/commons/component/node-detail.component.ts index 4393e49..5299179 100644 --- a/src/commons/component/node-detail.component.ts +++ b/src/commons/component/node-detail.component.ts @@ -21,4 +21,5 @@ export class NodeDetailComponent { otherHostSelected(host: Host) { this.otherHostSelect.emit(host); } + } diff --git a/src/commons/component/zone-detail.component.ts b/src/commons/component/zone-detail.component.ts index d26aa7b..d36236a 100644 --- a/src/commons/component/zone-detail.component.ts +++ b/src/commons/component/zone-detail.component.ts @@ -30,4 +30,5 @@ export class ZoneDetailComponent implements OnInit { hostSelected(host: Host) { this.otherHostSelect.emit(host); } + }