From f84fb13bbd9df74131fe8378fcc778d7c6dc3809 Mon Sep 17 00:00:00 2001 From: insanity Date: Fri, 21 Sep 2018 13:42:21 +0900 Subject: [PATCH] test --- src/commons/component/host-detail.component.ts | 4 +--- src/commons/component/node-detail.component.ts | 1 + src/commons/component/zone-detail.component.ts | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) 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); } + }