From 042daa7072c0168b876db2badfc838dba7ac2284 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Sun, 19 Apr 2020 20:42:33 +0200 Subject: Fixing circular dependency and table variable access --- .../+admin/moderation/video-abuse-list/video-abuse-list.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src/app/+admin/moderation') diff --git a/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts b/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts index e4e78cdf7..0c727ae90 100644 --- a/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts +++ b/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts @@ -223,7 +223,7 @@ export class VideoAbuseListComponent extends RestTable implements OnInit { } getVideoEmbed (videoAbuse: VideoAbuse) { - const absoluteAPIUrl = 'http://localhost:9000' || getAbsoluteAPIUrl() // TODO + const absoluteAPIUrl = getAbsoluteAPIUrl() const embedUrl = buildVideoLink({ baseUrl: absoluteAPIUrl + '/videos/embed/' + videoAbuse.video.uuid, warningTitle: false @@ -262,7 +262,7 @@ export class VideoAbuseListComponent extends RestTable implements OnInit { protected loadData () { return this.videoAbuseService.getVideoAbuses({ pagination: this.pagination, - sort: this.sort, + sort: this.sort, search: this.search }).subscribe( async resultList => { -- cgit v1.2.3