]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/helpers/utils.ts
Remove angular pipes module
[github/Chocobozzz/PeerTube.git] / client / src / app / helpers / utils.ts
index aa37fdd46b8dfd70bbcbcca66621bca66d561c1a..d05541ca928e1d4d0cd4567e2a583d9717166310 100644 (file)
@@ -1,4 +1,5 @@
 import { DatePipe } from '@angular/common'
+import { SelectChannelItem } from '@app/shared/shared-forms'
 import { environment } from '../../environments/environment'
 import { AuthService } from '../core/auth'
 
@@ -18,7 +19,7 @@ function getParameterByName (name: string, url: string) {
 
 function populateAsyncUserVideoChannels (
   authService: AuthService,
-  channel: { id: number, label: string, support?: string, avatarPath?: string, recent?: boolean }[]
+  channel: SelectChannelItem[]
 ) {
   return new Promise(res => {
     authService.userInformationLoaded