Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
adomi committed Oct 26, 2020
1 parent 0300c63 commit 5b2183a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export class SearchFilterComponent implements OnInit, OnDestroy {

this.updateExistingBuckets(responseField, responseBuckets, alreadyExistingField, alreadyExistingBuckets);
} else if (responseField && this.showContextFacets) {
if(responseBuckets.length > 0) {
if (responseBuckets.length > 0) {
const bucketList = new SearchFilterList<FacetFieldBucket>(responseBuckets, field.pageSize);
bucketList.filter = this.getBucketFilterFunction(bucketList);

Expand Down Expand Up @@ -270,7 +270,7 @@ export class SearchFilterComponent implements OnInit, OnDestroy {

this.updateExistingBuckets(responseField, responseBuckets, alreadyExistingField, alreadyExistingBuckets);
} else if (responseField && this.showContextFacets) {
if(responseBuckets.length > 0) {
if (responseBuckets.length > 0) {
const bucketList = new SearchFilterList<FacetFieldBucket>(responseBuckets, this.facetQueriesPageSize);
bucketList.filter = this.getBucketFilterFunction(bucketList);

Expand Down

0 comments on commit 5b2183a

Please sign in to comment.