1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

Fix tags in search filters

This commit is contained in:
Chocobozzz 2020-08-11 09:22:42 +02:00
parent 02c01341f4
commit 9abd170dec
No known key found for this signature in database
GPG key ID: 583A612D890159BE
12 changed files with 59 additions and 40 deletions

View file

@ -1,6 +1,7 @@
import { DatePipe } from '@angular/common'
import { environment } from '../../environments/environment'
import { AuthService } from '../core/auth'
import { SelectChannelItem } from '@app/shared/shared-forms/select-channel.component'
// Thanks: https://stackoverflow.com/questions/901115/how-can-i-get-query-string-values-in-javascript
function getParameterByName (name: string, url: string) {
@ -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