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.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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user