aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-library/my-videos/my-videos.component.ts
diff options
context:
space:
mode:
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.ts14
1 files changed, 8 insertions, 6 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 b618b3f88..57b8bdf7d 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
@@ -105,12 +105,14 @@ export class MyVideosComponent implements OnInit, DisableForReuseHook {
105 this.user = this.authService.getUser() 105 this.user = this.authService.getUser()
106 this.userChannels = this.user.videoChannels 106 this.userChannels = this.user.videoChannels
107 107
108 const channelFilters = this.userChannels.map(c => { 108 const channelFilters = [ ...this.userChannels ]
109 return { 109 .sort((a, b) => a.displayName.localeCompare(b.displayName))
110 value: 'channel:' + c.name, 110 .map(c => {
111 label: c.displayName 111 return {
112 } 112 value: 'channel:' + c.name,
113 }) 113 label: c.displayName
114 }
115 })
114 116
115 this.inputFilters = [ 117 this.inputFilters = [
116 { 118 {