This commit is contained in:
crusader 2018-09-14 01:14:58 +09:00
parent d81c0669a4
commit 29cf1bb868
2 changed files with 5 additions and 2 deletions

View File

@ -444,8 +444,8 @@ export class HomePageComponent implements OnInit, OnDestroy {
* DiscoverHost * DiscoverHost
*/ */
@RPCSubscriber({ method: 'DiscoveryService.Queueing' }) @RPCSubscriber({ method: 'DiscoveryService.Queueing' })
public DiscoveryQueueing(queueingDate: Date) { public DiscoveryQueueing(requestID: string, queueingDate: Date) {
console.log('DiscoveryQueueing', queueingDate); console.log('DiscoveryQueueing', requestID, queueingDate);
} }
/** /**

View File

@ -42,6 +42,9 @@ export class NicDropdownComponent implements OnInit {
this.probeService.call<Interface>('MachineService.Interfaces').pipe( this.probeService.call<Interface>('MachineService.Interfaces').pipe(
map((ifaces: Interface[]) => { map((ifaces: Interface[]) => {
ifaces.forEach(iface => { ifaces.forEach(iface => {
if (undefined === iface.addresses) {
return;
}
iface.addresses.forEach(address => { iface.addresses.forEach(address => {
if (address.metaIPType.key !== toMetaIPType(MetaIPTypeEnum.V4).key) { if (address.metaIPType.key !== toMetaIPType(MetaIPTypeEnum.V4).key) {
return; return;