test
This commit is contained in:
parent
88705142df
commit
f84fb13bbd
|
@ -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;
|
||||||
}),
|
}),
|
||||||
|
|
|
@ -21,4 +21,5 @@ export class NodeDetailComponent {
|
||||||
otherHostSelected(host: Host) {
|
otherHostSelected(host: Host) {
|
||||||
this.otherHostSelect.emit(host);
|
this.otherHostSelect.emit(host);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,4 +30,5 @@ export class ZoneDetailComponent implements OnInit {
|
||||||
hostSelected(host: Host) {
|
hostSelected(host: Host) {
|
||||||
this.otherHostSelect.emit(host);
|
this.otherHostSelect.emit(host);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user