fixed discovery result

This commit is contained in:
snoop 2018-03-29 19:35:13 +09:00
parent b5c46c2424
commit 52848505e8
2 changed files with 3 additions and 3 deletions

View File

@ -211,11 +211,11 @@ export class SettingComponent implements OnInit, AfterContentInit {
if (node.isActive) { if (node.isActive) {
if (node.data.obj !== undefined) { if (node.data.obj !== undefined) {
node.data.obj.isTarget = true; node.data.obj.target = true;
} }
} else { } else {
if (node.data.obj !== undefined) { if (node.data.obj !== undefined) {
node.data.obj.isTarget = false; node.data.obj.target = false;
} }
} }

View File

@ -8,7 +8,7 @@ export interface Host {
os: string; os: string;
discoveredDate?: Date; discoveredDate?: Date;
zone?: Zone; zone?: Zone;
isTarget?: boolean; target?: boolean;
ports: Map<number, Port> | null; ports: Map<number, Port> | null;
} }