Skip to content

Commit 5a815da

Browse files
committed
Updated comments.
1 parent 4d43a34 commit 5a815da

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

src/app/community-page/sub-collection-list/community-page-sub-collection-list.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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);

src/app/community-page/sub-community-list/community-page-sub-community-list.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)