+
diff --git a/@overflow/probe/component/probe-list.component.html b/@overflow/probe/component/probe-list.component.html
index cf8fa43..fb97126 100644
--- a/@overflow/probe/component/probe-list.component.html
+++ b/@overflow/probe/component/probe-list.component.html
@@ -22,12 +22,12 @@
{{probeHost.probe.name}} |
{{getUptime(probeHost.probe)}} |
{{probeHost.probe.cidr}} |
-
{{probeHost.infraHost.infraHostIPs[0].address}} |
-
{{probeHost.infraHost.infraHostOS.name}} |
-
{{probeHost.infraHost.infraZone.iface}} |
+
{{probeHost.infraHost.infraHostIPs ? probeHost.infraHost.infraHostIPs[0].address : ''}} |
+
{{probeHost.infraHost.infraHostOS ? probeHost.infraHost.infraHostOS.name : '' }} |
+
{{probeHost.infraHost.infraZone ? probeHost.infraHost.infraZone.iface : ''}} |
{{probeHost.probe.targetCount}} |
{{probeHost.probe.authorizeDate | date: 'dd.MM.yyyy'}} |
-
{{probeHost.probe.authorizeMember.name}} |
+
{{probeHost.probe.authorizeMember.name || ''}} |
diff --git a/@overflow/target/service/target.service.ts b/@overflow/target/service/target.service.ts
index 76aff06..45f4ab1 100644
--- a/@overflow/target/service/target.service.ts
+++ b/@overflow/target/service/target.service.ts
@@ -19,8 +19,8 @@ export class TargetService {
return this.rpcService.call
('TargetService.regist', target, probeID);
}
- public registAll(targets: Target[], probeID: number): Observable {
- return this.rpcService.call('TargetService.registAll', targets, probeID);
+ public registAll(infraIDs: number[], probeID: number): Observable {
+ return this.rpcService.call('TargetService.registAll', infraIDs, probeID);
}
public remove(id: number, probeID: number) {