diff --git a/src/app/analytics/analytics.component.html b/src/app/analytics/analytics.component.html index ba2ec49..e50e3a3 100644 --- a/src/app/analytics/analytics.component.html +++ b/src/app/analytics/analytics.component.html @@ -4,9 +4,11 @@
- @@ -17,8 +19,8 @@
- - {{country}} + + {{countryFb.get('country').value}}
- diff --git a/src/app/analytics/analytics.component.ts b/src/app/analytics/analytics.component.ts index d49574c..e371186 100644 --- a/src/app/analytics/analytics.component.ts +++ b/src/app/analytics/analytics.component.ts @@ -47,6 +47,7 @@ export class AnalyticsComponent implements OnInit { public search() { this.country = this.countryFb.value.country; + this.showSearch = false; this.loading = true; this.clearTimeouts(); if (this.country && this.country.length > 0) { @@ -100,6 +101,10 @@ export class AnalyticsComponent implements OnInit { } } + closeSearch() { + this.showSearch = false; + } + clearTimeouts() { this.timeouts.forEach(timeout => { clearTimeout(timeout); diff --git a/src/app/home/home.component.html b/src/app/home/home.component.html index 9e45472..fb021dd 100644 --- a/src/app/home/home.component.html +++ b/src/app/home/home.component.html @@ -9,7 +9,7 @@ existing citation mechanisms and assists institutional repository managers, research communities, research organizations, funders and policy makers track and evaluate research from an early stage.
- Learn More + Learn More