From 52848505e8ff9586a50035a2b280e1482ffb1e30 Mon Sep 17 00:00:00 2001 From: snoop Date: Thu, 29 Mar 2018 19:35:13 +0900 Subject: [PATCH] fixed discovery result --- src/packages/discovery/component/setting/setting.component.ts | 4 ++-- src/packages/discovery/model/Host.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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; }