aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/account
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-03-27 17:37:26 +0200
committerChocobozzz <me@florianbigard.com>2018-03-27 17:37:26 +0200
commita86887a4b8f1055e184508ff284f16e036cdd907 (patch)
tree7dc6824ec5686ec3b61b95e4b9193875a587725b /client/src/app/account
parent5b5e333f068c7bd5fcf519bcd3f687eb46221883 (diff)
downloadPeerTube-a86887a4b8f1055e184508ff284f16e036cdd907.tar.gz
PeerTube-a86887a4b8f1055e184508ff284f16e036cdd907.tar.zst
PeerTube-a86887a4b8f1055e184508ff284f16e036cdd907.zip
Fix my videos pagination
Diffstat (limited to 'client/src/app/account')
-rw-r--r--client/src/app/account/account-videos/account-videos.component.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/src/app/account/account-videos/account-videos.component.ts b/client/src/app/account/account-videos/account-videos.component.ts
index cd0f8e752..4f2f3e242 100644
--- a/client/src/app/account/account-videos/account-videos.component.ts
+++ b/client/src/app/account/account-videos/account-videos.component.ts
@@ -106,6 +106,11 @@ export class AccountVideosComponent extends AbstractVideoList implements OnInit,
106 ) 106 )
107 } 107 }
108 108
109 protected buildVideoHeight () {
110 // In account videos, the video height is fixed
111 return this.baseVideoHeight
112 }
113
109 private spliceVideosById (id: number) { 114 private spliceVideosById (id: number) {
110 for (const key of Object.keys(this.loadedPages)) { 115 for (const key of Object.keys(this.loadedPages)) {
111 const videos = this.loadedPages[key] 116 const videos = this.loadedPages[key]