File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ export class CommunityPageSubCollectionListComponent implements OnInit, OnDestro
2525
2626 /**
2727 * Optional page size. Overrides communityList.pageSize configuration for this component.
28+ * Value can be added in the themed version of the parent component.
2829 */
2930 @Input ( ) pageSize : number ;
3031
@@ -56,8 +57,8 @@ export class CommunityPageSubCollectionListComponent implements OnInit, OnDestro
5657 ngOnInit ( ) : void {
5758 this . config = new PaginationComponentOptions ( ) ;
5859 this . config . id = this . pageId ;
59- if ( hasValue ( this . pageSize ) ) {
60- this . config . pageSize = this . pageSize
60+ if ( hasValue ( this . pageSize ) ) {
61+ this . config . pageSize = this . pageSize ;
6162 }
6263 this . config . currentPage = 1 ;
6364 this . sortConfig = new SortOptions ( 'dc.title' , SortDirection . ASC ) ;
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ export class CommunityPageSubCommunityListComponent implements OnInit, OnDestroy
2828
2929 /**
3030 * Optional page size. Overrides communityList.pageSize configuration for this component.
31+ * Value can be added in the themed version of the parent component.
3132 */
3233 @Input ( ) pageSize : number ;
3334
@@ -59,8 +60,8 @@ export class CommunityPageSubCommunityListComponent implements OnInit, OnDestroy
5960 ngOnInit ( ) : void {
6061 this . config = new PaginationComponentOptions ( ) ;
6162 this . config . id = this . pageId ;
62- if ( hasValue ( this . pageSize ) ) {
63- this . config . pageSize = this . pageSize
63+ if ( hasValue ( this . pageSize ) ) {
64+ this . config . pageSize = this . pageSize ;
6465 }
6566 this . config . currentPage = 1 ;
6667 this . sortConfig = new SortOptions ( 'dc.title' , SortDirection . ASC ) ;
You can’t perform that action at this time.
0 commit comments