From 0168c5e8946570b7e9b4f585217fc31354546295 Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Thu, 5 May 2022 16:47:21 +0300 Subject: [PATCH] Delete some console logs. Change inputs in filters to small instead of x-small --- landingPages/feedback/feedback.component.ts | 1 - searchPages/searchUtils/searchFilter.component.html | 2 +- searchPages/searchUtils/searchFilter.component.ts | 2 -- services/metrics.service.ts | 1 - services/searchProjects.service.ts | 2 -- utils/entitiesAutoComplete/entitiesAutoComplete.component.ts | 4 +--- utils/pageURLResolver.component.ts | 1 - utils/rangeFilter/rangeFilter.component.html | 4 ++-- utils/result-preview/result-preview.ts | 1 - utils/tabs/tabs.component.ts | 2 -- 10 files changed, 4 insertions(+), 16 deletions(-) diff --git a/landingPages/feedback/feedback.component.ts b/landingPages/feedback/feedback.component.ts index 54a40930..f2bfc0d7 100644 --- a/landingPages/feedback/feedback.component.ts +++ b/landingPages/feedback/feedback.component.ts @@ -76,7 +76,6 @@ export class FeedbackComponent implements OnInit, OnChanges { ngOnChanges(changes: SimpleChanges): void { if (changes.showForm) { - console.log(changes); this.init(); } } diff --git a/searchPages/searchUtils/searchFilter.component.html b/searchPages/searchUtils/searchFilter.component.html index 742f0990..b0a1b057 100644 --- a/searchPages/searchUtils/searchFilter.component.html +++ b/searchPages/searchUtils/searchFilter.component.html @@ -19,7 +19,7 @@
Top 100 values are shown in the filters
-
+
diff --git a/searchPages/searchUtils/searchFilter.component.ts b/searchPages/searchUtils/searchFilter.component.ts index c1b31dd2..4c35e53a 100644 --- a/searchPages/searchUtils/searchFilter.component.ts +++ b/searchPages/searchUtils/searchFilter.component.ts @@ -76,7 +76,6 @@ export class SearchFilterComponent implements OnInit, OnChanges { ngOnChanges(changes: SimpleChanges) { if (changes.filter) { - console.log(this.filter); this.filter.values = this.filter.values.filter(value => !value.name.toLowerCase().includes('unknown') && !value.name.toLowerCase().includes('not available')); if (this.filter.filterType == "radio") { this.filter.radioValue = ""; @@ -262,7 +261,6 @@ export class SearchFilterComponent implements OnInit, OnChanges { getFilterName(value) { let name = value.name + " (" + value.number.format() + ")"; - console.log(name); return name; } diff --git a/services/metrics.service.ts b/services/metrics.service.ts index 1d0d7af1..e5be196c 100644 --- a/services/metrics.service.ts +++ b/services/metrics.service.ts @@ -45,7 +45,6 @@ export class MetricsService { for(let i=0; i res.json()) .pipe(map(res => [res['meta'].total, this.parseResults(res['results']),RefineResultsUtils.parse(res['refineResults'],refineFields, "project")])); diff --git a/utils/entitiesAutoComplete/entitiesAutoComplete.component.ts b/utils/entitiesAutoComplete/entitiesAutoComplete.component.ts index c2668139..81032b0d 100644 --- a/utils/entitiesAutoComplete/entitiesAutoComplete.component.ts +++ b/utils/entitiesAutoComplete/entitiesAutoComplete.component.ts @@ -267,9 +267,7 @@ export class EntitiesAutocompleteComponent { } private getSelectedNameFromGivenId(){ this.showInput = true; - if(this.selectedValue && this.selectedValue.length > 0 ){ - - console.log(this.selectedValue+" "+this.entityType ) + if(this.selectedValue && this.selectedValue.length > 0 ) { this.sub = this._search.fetchByType(this.selectedValue,this.entityType, this.properties).subscribe( data => { this.selected.push( data[0]); diff --git a/utils/pageURLResolver.component.ts b/utils/pageURLResolver.component.ts index 75e0e1ec..34b205e9 100644 --- a/utils/pageURLResolver.component.ts +++ b/utils/pageURLResolver.component.ts @@ -15,7 +15,6 @@ export class PageURLResolverComponent { ngOnInit() { this.route.queryParams.subscribe(params => { - console.log(params); this.parameters = Object.assign({}, params); this.navigateTO(this.router.url.split("?")[0]) diff --git a/utils/rangeFilter/rangeFilter.component.html b/utils/rangeFilter/rangeFilter.component.html index 6d438bc5..127aaba8 100644 --- a/utils/rangeFilter/rangeFilter.component.html +++ b/utils/rangeFilter/rangeFilter.component.html @@ -12,10 +12,10 @@
+ inputClass="inner small" class=" uk-width-1-3">
-
+ inputClass="inner small" class=" uk-width-1-3">