aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-library/my-follows/my-followers.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+my-library/my-follows/my-followers.component.ts')
-rw-r--r--client/src/app/+my-library/my-follows/my-followers.component.ts11
1 files changed, 9 insertions, 2 deletions
diff --git a/client/src/app/+my-library/my-follows/my-followers.component.ts b/client/src/app/+my-library/my-follows/my-followers.component.ts
index 413d524df..4a72b983f 100644
--- a/client/src/app/+my-library/my-follows/my-followers.component.ts
+++ b/client/src/app/+my-library/my-follows/my-followers.component.ts
@@ -37,12 +37,19 @@ export class MyFollowersComponent implements OnInit {
37 } 37 }
38 38
39 this.auth.userInformationLoaded.subscribe(() => { 39 this.auth.userInformationLoaded.subscribe(() => {
40 this.inputFilters = this.auth.getUser().videoChannels.map(c => { 40 const channelFilters = this.auth.getUser().videoChannels.map(c => {
41 return { 41 return {
42 queryParams: { search: 'channel:' + c.name }, 42 queryParams: { search: 'channel:' + c.name },
43 label: $localize`Followers of ${c.name}` 43 label: c.name
44 } 44 }
45 }) 45 })
46
47 this.inputFilters = [
48 {
49 title: $localize`Channel filters`,
50 children: channelFilters
51 }
52 ]
46 }) 53 })
47 } 54 }
48 55