Skip to content

Commit

Permalink
Merge pull request #1006 from rfcx/bug/fix-score-issue-for-pm-boxes
Browse files Browse the repository at this point in the history
Reduced a count of boxes on the page for best per site day filter
  • Loading branch information
rassokhina-e authored Jul 20, 2022
2 parents 93421cb + bc1b6d6 commit 3f962dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/app/app/analysis/patternmatching/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,10 +322,10 @@ angular.module('a2.analysis.patternmatching', [
}
this.sitesListBatchSize = 1;
} else if (['best_per_site', 'best_per_site_day'].includes(search)) {
if (this.sitesListBatchSize !== 20) {
if (this.sitesListBatchSize !== 10) {
shouldRecalculate = true
}
this.sitesListBatchSize = 20;
this.sitesListBatchSize = 10;
}
if (shouldRecalculate) {
this.splitSitesListIntoBatches();
Expand Down

0 comments on commit 3f962dc

Please sign in to comment.