From 9abd170dec9a0b929da1f0947e3c7019e38631da Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 11 Aug 2020 09:22:42 +0200 Subject: Fix tags in search filters --- client/src/app/helpers/utils.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/src/app/helpers/utils.ts') 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 @@ 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 -- cgit v1.2.3