diff options
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.ts | 6 |
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) { |