Fix video block in abuse table
This commit is contained in:
parent
96df6ca606
commit
365d9083c9
1 changed files with 1 additions and 1 deletions
|
@ -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.`)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue