aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-library/my-videos/my-videos.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-08-19 09:24:29 +0200
committerChocobozzz <me@florianbigard.com>2021-08-25 11:24:11 +0200
commitdd24f1bb0a4b252e5342b251ba36853364da7b8e (patch)
tree41a9506d07413f056fb90425705e258f96fdc77d /client/src/app/+my-library/my-videos/my-videos.component.ts
parent2e80d256cc75b4b02c8efc3d3e4cdf57ddf401a8 (diff)
downloadPeerTube-dd24f1bb0a4b252e5342b251ba36853364da7b8e.tar.gz
PeerTube-dd24f1bb0a4b252e5342b251ba36853364da7b8e.tar.zst
PeerTube-dd24f1bb0a4b252e5342b251ba36853364da7b8e.zip
Add video filters to common video pages
Diffstat (limited to 'client/src/app/+my-library/my-videos/my-videos.component.ts')
-rw-r--r--client/src/app/+my-library/my-videos/my-videos.component.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/client/src/app/+my-library/my-videos/my-videos.component.ts b/client/src/app/+my-library/my-videos/my-videos.component.ts
index edb9392dd..72d28ced7 100644
--- a/client/src/app/+my-library/my-videos/my-videos.component.ts
+++ b/client/src/app/+my-library/my-videos/my-videos.component.ts
@@ -54,6 +54,8 @@ export class MyVideosComponent implements OnInit, DisableForReuseHook {
54 } 54 }
55 ] 55 ]
56 56
57 disabled = false
58
57 private search: string 59 private search: string
58 60
59 constructor ( 61 constructor (
@@ -89,11 +91,11 @@ export class MyVideosComponent implements OnInit, DisableForReuseHook {
89 } 91 }
90 92
91 disableForReuse () { 93 disableForReuse () {
92 this.videosSelection.disableForReuse() 94 this.disabled = true
93 } 95 }
94 96
95 enabledForReuse () { 97 enabledForReuse () {
96 this.videosSelection.enabledForReuse() 98 this.disabled = false
97 } 99 }
98 100
99 getVideosObservable (page: number) { 101 getVideosObservable (page: number) {