diff options
Diffstat (limited to 'client/src/app/helpers')
-rw-r--r-- | client/src/app/helpers/utils.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/helpers/utils.ts b/client/src/app/helpers/utils.ts index aa37fdd46..b925e6d98 100644 --- a/client/src/app/helpers/utils.ts +++ b/client/src/app/helpers/utils.ts | |||
@@ -1,6 +1,7 @@ | |||
1 | import { DatePipe } from '@angular/common' | 1 | import { DatePipe } from '@angular/common' |
2 | import { environment } from '../../environments/environment' | 2 | import { environment } from '../../environments/environment' |
3 | import { AuthService } from '../core/auth' | 3 | import { AuthService } from '../core/auth' |
4 | import { SelectChannelItem } from '@app/shared/shared-forms/select-channel.component' | ||
4 | 5 | ||
5 | // Thanks: https://stackoverflow.com/questions/901115/how-can-i-get-query-string-values-in-javascript | 6 | // Thanks: https://stackoverflow.com/questions/901115/how-can-i-get-query-string-values-in-javascript |
6 | function getParameterByName (name: string, url: string) { | 7 | function getParameterByName (name: string, url: string) { |
@@ -18,7 +19,7 @@ function getParameterByName (name: string, url: string) { | |||
18 | 19 | ||
19 | function populateAsyncUserVideoChannels ( | 20 | function populateAsyncUserVideoChannels ( |
20 | authService: AuthService, | 21 | authService: AuthService, |
21 | channel: { id: number, label: string, support?: string, avatarPath?: string, recent?: boolean }[] | 22 | channel: SelectChannelItem[] |
22 | ) { | 23 | ) { |
23 | return new Promise(res => { | 24 | return new Promise(res => { |
24 | authService.userInformationLoaded | 25 | authService.userInformationLoaded |