diff --git a/src/packages/discovery/component/setting/setting.component.ts b/src/packages/discovery/component/setting/setting.component.ts index 49b7331..b8d7e0e 100644 --- a/src/packages/discovery/component/setting/setting.component.ts +++ b/src/packages/discovery/component/setting/setting.component.ts @@ -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; } } diff --git a/src/packages/discovery/model/Host.ts b/src/packages/discovery/model/Host.ts index 4b4f4ad..531761c 100644 --- a/src/packages/discovery/model/Host.ts +++ b/src/packages/discovery/model/Host.ts @@ -8,7 +8,7 @@ export interface Host { os: string; discoveredDate?: Date; zone?: Zone; - isTarget?: boolean; + target?: boolean; ports: Map | null; }