Verified Commit 365d9083 authored by Chocobozzz's avatar Chocobozzz
Browse files

Fix video block in abuse table

parent 96df6ca6
......@@ -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.`)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment