Skip to content

Commit

Permalink
make paginator element not static
Browse files Browse the repository at this point in the history
  • Loading branch information
rrchai committed Jan 16, 2024
1 parent 4f9b475 commit 60c4fd7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export class ChallengeSearchComponent
defaultSortedBy: ChallengeSort = 'relevance';
defaultPageNumber = 0;
defaultPageSize = 24;
@ViewChild('paginator', { static: true }) paginator!: PaginatorComponent;
@ViewChild('paginator', { static: false }) paginator!: PaginatorComponent;

// define filters
sortFilters: Filter[] = challengeSortFilter;
Expand Down

0 comments on commit 60c4fd7

Please sign in to comment.