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:
parent
02c01341f4
commit
9abd170dec
12 changed files with 59 additions and 40 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue