diff --git a/@overflow/discovery/component/discovery-infra-tree.component.html b/@overflow/discovery/component/discovery-infra-tree.component.html
index 95c748e..111657d 100644
--- a/@overflow/discovery/component/discovery-infra-tree.component.html
+++ b/@overflow/discovery/component/discovery-infra-tree.component.html
@@ -19,21 +19,14 @@
-
{{node.data.date | date: 'yy/MM/dd'}}
+
{{node.data.date | date: 'yy/MM/dd'}}
@@ -41,21 +34,15 @@
-
{{node.data.date | date: 'yy/MM/dd'}}
+
{{node.data.date | date: 'yy/MM/dd'}}
diff --git a/@overflow/discovery/component/discovery-infra-tree.component.ts b/@overflow/discovery/component/discovery-infra-tree.component.ts
index 89dafc0..2ee6e36 100644
--- a/@overflow/discovery/component/discovery-infra-tree.component.ts
+++ b/@overflow/discovery/component/discovery-infra-tree.component.ts
@@ -338,12 +338,12 @@ export class DiscoveryInfraTreeComponent implements OnChanges {
});
}
- checkHighlight(label: string, type: number) {
+ checkHighlight(name: string, type: number) {
let highlight = true;
- if (this.filterWord && (label.toUpperCase().indexOf(this.filterWord.toUpperCase()) < 0)) {
+ if (this.filterWord && (name.toUpperCase().indexOf(this.filterWord.toUpperCase()) < 0)) {
highlight = false;
}
- if (type === 1 && this.filterServices[label] === false) {
+ if (type === 1 && this.filterServices[name] === false) {
highlight = false;
}
return highlight;
diff --git a/@overflow/discovery/component/discovery.component.html b/@overflow/discovery/component/discovery.component.html
index 07b8d34..429807a 100644
--- a/@overflow/discovery/component/discovery.component.html
+++ b/@overflow/discovery/component/discovery.component.html
@@ -15,14 +15,13 @@
-
+
-
-
+
diff --git a/@overflow/discovery/component/discovery.component.ts b/@overflow/discovery/component/discovery.component.ts
index bd79fba..55055c9 100644
--- a/@overflow/discovery/component/discovery.component.ts
+++ b/@overflow/discovery/component/discovery.component.ts
@@ -37,7 +37,6 @@ export class DiscoveryComponent implements OnInit, OnDestroy {
filterServices: Service[];
@ViewChild('infraTree') infraTree: DiscoveryInfraTreeComponent;
- @ViewChild('filter') filter: SearchFilterComponent;
constructor(
private discoveryService: DiscoveryService,
@@ -104,7 +103,6 @@ export class DiscoveryComponent implements OnInit, OnDestroy {
case 'DiscoveryService.discoveredService': {
const service = discoveryNotify.params as Service;
this.infraTree.addService(service);
- this.filter.addService(service);
break;
}
default: {
diff --git a/@overflow/discovery/component/search-filter.component.html b/@overflow/discovery/component/search-filter.component.html
index 668274c..c74291e 100644
--- a/@overflow/discovery/component/search-filter.component.html
+++ b/@overflow/discovery/component/search-filter.component.html
@@ -1,15 +1,12 @@
+ -->
\ No newline at end of file
diff --git a/@overflow/discovery/component/search-filter.component.ts b/@overflow/discovery/component/search-filter.component.ts
index 926f6db..c801d86 100644
--- a/@overflow/discovery/component/search-filter.component.ts
+++ b/@overflow/discovery/component/search-filter.component.ts
@@ -16,10 +16,8 @@ export class SearchFilterComponent implements OnInit {
services: Service[] = [];
filterWord: string;
- filterServices = new Map();
@Output() search = new EventEmitter();
- @Output() serviceSelect = new EventEmitter