]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+my-library/my-videos/my-videos.component.ts
Prevent invalid end watch section warnings
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-library / my-videos / my-videos.component.ts
index b1afc8211eab4c41dda4e08d7dfa30c47d78594b..46dd304bac641cb99503335448114c8f2796c29d 100644 (file)
@@ -1,4 +1,4 @@
-import uniqBy from 'lodash/uniqBy'
+import { uniqBy } from 'lodash-es'
 import { concat, Observable } from 'rxjs'
 import { tap, toArray } from 'rxjs/operators'
 import { Component, OnInit, ViewChild } from '@angular/core'
@@ -108,7 +108,7 @@ export class MyVideosComponent implements OnInit, DisableForReuseHook {
       const channelFilters = this.userChannels.map(c => {
         return {
           value: 'channel:' + c.name,
-          label: c.name
+          label: c.displayName
         }
       })