This commit is contained in:
crusader
2018-08-27 00:15:10 +09:00
parent 12297c54fc
commit aaf3e23966
32 changed files with 548 additions and 14 deletions

View File

@@ -5,6 +5,7 @@ import { catchError, exhaustMap, map, tap, take } from 'rxjs/operators';
import { ProbeService } from '../service/probe.service';
import { Interface } from '@overflow/model/net/nic';
@Component({
selector: 'app-nic-dropdown',
@@ -21,8 +22,8 @@ export class NicDropdownComponent implements OnInit {
}
ngOnInit(): void {
this.probeService.call<any>('MachineService.Interfaces').pipe(
map((ifaces: any) => {
this.probeService.call<Interface>('MachineService.Interfaces').pipe(
map((ifaces: Interface[]) => {
console.log(ifaces);
}),
catchError(error => {