diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-24 15:37:42 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-24 15:42:55 +0100 |
commit | e6492b2de61e5eef5ea9bc1bf19463c065f3f41d (patch) | |
tree | 120d1f4c56e0562cc610a58dee55a5b9d3f3dc21 /client/src/app/+admin/overview/videos | |
parent | 656ed49f24f678d54ebbf420809c1bd5162587c8 (diff) | |
download | PeerTube-e6492b2de61e5eef5ea9bc1bf19463c065f3f41d.tar.gz PeerTube-e6492b2de61e5eef5ea9bc1bf19463c065f3f41d.tar.zst PeerTube-e6492b2de61e5eef5ea9bc1bf19463c065f3f41d.zip |
Remove unnecessary onPage event on admin tables
Diffstat (limited to 'client/src/app/+admin/overview/videos')
-rw-r--r-- | client/src/app/+admin/overview/videos/video-list.component.html | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/client/src/app/+admin/overview/videos/video-list.component.html b/client/src/app/+admin/overview/videos/video-list.component.html index d1b1a527e..121bc502c 100644 --- a/client/src/app/+admin/overview/videos/video-list.component.html +++ b/client/src/app/+admin/overview/videos/video-list.component.html | |||
@@ -5,12 +5,11 @@ | |||
5 | 5 | ||
6 | <p-table | 6 | <p-table |
7 | [value]="videos" [paginator]="totalRecords > 0" [totalRecords]="totalRecords" [rows]="rowsPerPage" [rowsPerPageOptions]="rowsPerPageOptions" | 7 | [value]="videos" [paginator]="totalRecords > 0" [totalRecords]="totalRecords" [rows]="rowsPerPage" [rowsPerPageOptions]="rowsPerPageOptions" |
8 | [sortField]="sort.field" [sortOrder]="sort.order" dataKey="id" [resizableColumns]="true" [(selection)]="selectedVideos" | 8 | [sortField]="sort.field" [sortOrder]="sort.order" dataKey="id" [resizableColumns]="true" [(selection)]="selectedVideos" |
9 | [lazy]="true" (onLazyLoad)="loadLazy($event)" [lazyLoadOnInit]="false" [selectionPageOnly]="true" | 9 | [lazy]="true" (onLazyLoad)="loadLazy($event)" [lazyLoadOnInit]="false" [selectionPageOnly]="true" |
10 | [showCurrentPageReport]="true" i18n-currentPageReportTemplate | 10 | [showCurrentPageReport]="true" i18n-currentPageReportTemplate |
11 | currentPageReportTemplate="Showing {{'{first}'}} to {{'{last}'}} of {{'{totalRecords}'}} videos" | 11 | currentPageReportTemplate="Showing {{'{first}'}} to {{'{last}'}} of {{'{totalRecords}'}} videos" |
12 | (onPage)="onPage($event)" [expandedRowKeys]="expandedRows" | 12 | [expandedRowKeys]="expandedRows" [ngClass]="{ loading: loading }" |
13 | [ngClass]="{ loading: loading }" | ||
14 | > | 13 | > |
15 | <ng-template pTemplate="caption"> | 14 | <ng-template pTemplate="caption"> |
16 | <div class="caption"> | 15 | <div class="caption"> |