diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-11 09:22:42 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-08-11 09:41:55 +0200 |
commit | 9abd170dec9a0b929da1f0947e3c7019e38631da (patch) | |
tree | d43418b375d306dcf96af1e9c2f8b6a6775e6e22 /client/src/app/helpers/utils.ts | |
parent | 02c01341f4dae30ec6b81fcb644952393d73c4a8 (diff) | |
download | PeerTube-9abd170dec9a0b929da1f0947e3c7019e38631da.tar.gz PeerTube-9abd170dec9a0b929da1f0947e3c7019e38631da.tar.zst PeerTube-9abd170dec9a0b929da1f0947e3c7019e38631da.zip |
Fix tags in search filters
Diffstat (limited to 'client/src/app/helpers/utils.ts')
-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 |