aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/helpers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-08-11 09:22:42 +0200
committerChocobozzz <me@florianbigard.com>2020-08-11 09:41:55 +0200
commit9abd170dec9a0b929da1f0947e3c7019e38631da (patch)
treed43418b375d306dcf96af1e9c2f8b6a6775e6e22 /client/src/app/helpers
parent02c01341f4dae30ec6b81fcb644952393d73c4a8 (diff)
downloadPeerTube-9abd170dec9a0b929da1f0947e3c7019e38631da.tar.gz
PeerTube-9abd170dec9a0b929da1f0947e3c7019e38631da.tar.zst
PeerTube-9abd170dec9a0b929da1f0947e3c7019e38631da.zip
Fix tags in search filters
Diffstat (limited to 'client/src/app/helpers')
-rw-r--r--client/src/app/helpers/utils.ts3
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 @@
1import { DatePipe } from '@angular/common' 1import { DatePipe } from '@angular/common'
2import { environment } from '../../environments/environment' 2import { environment } from '../../environments/environment'
3import { AuthService } from '../core/auth' 3import { AuthService } from '../core/auth'
4import { 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
6function getParameterByName (name: string, url: string) { 7function getParameterByName (name: string, url: string) {
@@ -18,7 +19,7 @@ function getParameterByName (name: string, url: string) {
18 19
19function populateAsyncUserVideoChannels ( 20function 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