From 365d9083c938ea128e04c4f98e6b18dd26d86dd2 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 26 Aug 2020 08:45:48 +0200 Subject: Fix video block in abuse table --- client/src/app/shared/shared-abuse-list/abuse-list-table.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app/shared') diff --git a/client/src/app/shared/shared-abuse-list/abuse-list-table.component.ts b/client/src/app/shared/shared-abuse-list/abuse-list-table.component.ts index cc933db0d..20be94d6e 100644 --- a/client/src/app/shared/shared-abuse-list/abuse-list-table.component.ts +++ b/client/src/app/shared/shared-abuse-list/abuse-list-table.component.ts @@ -363,7 +363,7 @@ export class AbuseListTableComponent extends RestTable implements OnInit, AfterV label: $localize`Block video`, isDisplayed: abuse => abuse.video && !abuse.video.deleted && !abuse.video.blacklisted, handler: abuse => { - this.videoBlocklistService.blockVideo(abuse.video.id, undefined, true) + this.videoBlocklistService.blockVideo(abuse.video.id, undefined, abuse.video.channel.isLocal) .subscribe( () => { this.notifier.success($localize`Video blocked.`) -- cgit v1.2.3