diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-05-03 16:20:19 +0200 |
---|---|---|
committer | Rigel Kent <par@rigelk.eu> | 2020-05-04 15:01:44 +0200 |
commit | d405118360b7356d86cd570ceb665d38cc1c17f7 (patch) | |
tree | ae1acc2d984d884b528d6c15c075ad308132be1b /client/src/app/+my-account | |
parent | 9b1fa49b6032c149d8a848da086f60e52bd4b82a (diff) | |
download | PeerTube-d405118360b7356d86cd570ceb665d38cc1c17f7.tar.gz PeerTube-d405118360b7356d86cd570ceb665d38cc1c17f7.tar.zst PeerTube-d405118360b7356d86cd570ceb665d38cc1c17f7.zip |
Bind expanded rows to item ids instead of row number
Diffstat (limited to 'client/src/app/+my-account')
-rw-r--r-- | client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html b/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html index 4b1856b51..7d447cdb3 100644 --- a/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html +++ b/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html | |||
@@ -1,6 +1,7 @@ | |||
1 | <p-table | 1 | <p-table |
2 | [value]="videoImports" [lazy]="true" [paginator]="totalRecords > 0" [totalRecords]="totalRecords" [rows]="rowsPerPage" | 2 | [value]="videoImports" [lazy]="true" [paginator]="totalRecords > 0" [totalRecords]="totalRecords" [rows]="rowsPerPage" |
3 | [sortField]="sort.field" [sortOrder]="sort.order" (onLazyLoad)="loadLazy($event)" dataKey="id" | 3 | [sortField]="sort.field" [sortOrder]="sort.order" (onLazyLoad)="loadLazy($event)" dataKey="id" |
4 | (onPage)="onPage()" [expandedRowKeys]="expandedRows" | ||
4 | > | 5 | > |
5 | <ng-template pTemplate="header"> | 6 | <ng-template pTemplate="header"> |
6 | <tr> | 7 | <tr> |