diff options
-rw-r--r-- | client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.html | 2 | ||||
-rw-r--r-- | client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.ts | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.html b/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.html index c2fed8112..5f368d430 100644 --- a/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.html +++ b/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.html | |||
@@ -12,7 +12,7 @@ | |||
12 | <p-table | 12 | <p-table |
13 | *ngIf="syncEnabled()" [value]="channelSyncs" [lazy]="true" | 13 | *ngIf="syncEnabled()" [value]="channelSyncs" [lazy]="true" |
14 | [paginator]="totalRecords > 0" [totalRecords]="totalRecords" [rows]="rowsPerPage" [rowsPerPageOptions]="rowsPerPageOptions" | 14 | [paginator]="totalRecords > 0" [totalRecords]="totalRecords" [rows]="rowsPerPage" [rowsPerPageOptions]="rowsPerPageOptions" |
15 | [sortField]="sort.field" [sortOrder]="sort.order" (onLazyLoad)="loadLazy($event)" dataKey="id" | 15 | [first]="pagination.start" [sortField]="sort.field" [sortOrder]="sort.order" (onLazyLoad)="loadLazy($event)" dataKey="id" |
16 | [showCurrentPageReport]="true" i18n-currentPageReportTemplate | 16 | [showCurrentPageReport]="true" i18n-currentPageReportTemplate |
17 | currentPageReportTemplate="Showing {{'{first}'}} to {{'{last}'}} of {{'{totalRecords}'}} synchronizations" | 17 | currentPageReportTemplate="Showing {{'{first}'}} to {{'{last}'}} of {{'{totalRecords}'}} synchronizations" |
18 | [expandedRowKeys]="expandedRows" | 18 | [expandedRowKeys]="expandedRows" |
diff --git a/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.ts b/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.ts index 0c429e5dd..290847418 100644 --- a/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.ts +++ b/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.ts | |||
@@ -75,6 +75,7 @@ export class MyVideoChannelSyncsComponent extends RestTable implements OnInit { | |||
75 | .subscribe({ | 75 | .subscribe({ |
76 | next: res => { | 76 | next: res => { |
77 | this.channelSyncs = res.data | 77 | this.channelSyncs = res.data |
78 | this.totalRecords = res.total | ||
78 | }, | 79 | }, |
79 | error: err => { | 80 | error: err => { |
80 | this.error = err.message | 81 | this.error = err.message |