Browse Source

Fix missing pagination when listing channel syncs

tags/v4.3.0
Chocobozzz 1 week ago
parent
commit
c95fbe6553
No known key found for this signature in database GPG Key ID: 583A612D890159BE
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.html
  2. +1
    -0
      client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.ts

+ 1
- 1
client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.html View File

@@ -12,7 +12,7 @@
<p-table
*ngIf="syncEnabled()" [value]="channelSyncs" [lazy]="true"
[paginator]="totalRecords > 0" [totalRecords]="totalRecords" [rows]="rowsPerPage" [rowsPerPageOptions]="rowsPerPageOptions"
[sortField]="sort.field" [sortOrder]="sort.order" (onLazyLoad)="loadLazy($event)" dataKey="id"
[first]="pagination.start" [sortField]="sort.field" [sortOrder]="sort.order" (onLazyLoad)="loadLazy($event)" dataKey="id"
[showCurrentPageReport]="true" i18n-currentPageReportTemplate
currentPageReportTemplate="Showing {{'{first}'}} to {{'{last}'}} of {{'{totalRecords}'}} synchronizations"
[expandedRowKeys]="expandedRows"


+ 1
- 0
client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.ts View File

@@ -75,6 +75,7 @@ export class MyVideoChannelSyncsComponent extends RestTable implements OnInit {
.subscribe({
next: res => {
this.channelSyncs = res.data
this.totalRecords = res.total
},
error: err => {
this.error = err.message


Loading…
Cancel
Save