fixed discovery result
This commit is contained in:
parent
b5c46c2424
commit
52848505e8
|
@ -211,11 +211,11 @@ export class SettingComponent implements OnInit, AfterContentInit {
|
|||
|
||||
if (node.isActive) {
|
||||
if (node.data.obj !== undefined) {
|
||||
node.data.obj.isTarget = true;
|
||||
node.data.obj.target = true;
|
||||
}
|
||||
} else {
|
||||
if (node.data.obj !== undefined) {
|
||||
node.data.obj.isTarget = false;
|
||||
node.data.obj.target = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ export interface Host {
|
|||
os: string;
|
||||
discoveredDate?: Date;
|
||||
zone?: Zone;
|
||||
isTarget?: boolean;
|
||||
target?: boolean;
|
||||
|
||||
ports: Map<number, Port> | null;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user