This commit is contained in:
insanity 2018-09-21 13:42:21 +09:00
parent 88705142df
commit f84fb13bbd
3 changed files with 3 additions and 3 deletions

View File

@ -53,11 +53,9 @@ export class HostDetailComponent implements OnChanges {
.call<PingResult>('PingService.PingHost', this.host, option) .call<PingResult>('PingService.PingHost', this.host, option)
.pipe( .pipe(
map((pingResult: PingResult) => { map((pingResult: PingResult) => {
console.log(pingResult);
if (pingResult) { if (pingResult) {
this.pingResult = pingResult; this.pingResult = pingResult;
console.log(pingResult.raw); this.pingResultRaw = pingResult.raw.join('\r\n');
this.pingResultRaw = pingResult.raw.join('');
} }
this.pingWaiting = false; this.pingWaiting = false;
}), }),

View File

@ -21,4 +21,5 @@ export class NodeDetailComponent {
otherHostSelected(host: Host) { otherHostSelected(host: Host) {
this.otherHostSelect.emit(host); this.otherHostSelect.emit(host);
} }
} }

View File

@ -30,4 +30,5 @@ export class ZoneDetailComponent implements OnInit {
hostSelected(host: Host) { hostSelected(host: Host) {
this.otherHostSelect.emit(host); this.otherHostSelect.emit(host);
} }
} }