diff options
Diffstat (limited to 'client/src/app/shared/shared-abuse-list')
-rw-r--r-- | client/src/app/shared/shared-abuse-list/abuse-list-table.component.html | 4 | ||||
-rw-r--r-- | client/src/app/shared/shared-abuse-list/abuse-list-table.component.ts | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/client/src/app/shared/shared-abuse-list/abuse-list-table.component.html b/client/src/app/shared/shared-abuse-list/abuse-list-table.component.html index d0eef7d4b..0d75a21d7 100644 --- a/client/src/app/shared/shared-abuse-list/abuse-list-table.component.html +++ b/client/src/app/shared/shared-abuse-list/abuse-list-table.component.html | |||
@@ -77,10 +77,6 @@ | |||
77 | 77 | ||
78 | <td *ngIf="abuse.video.deleted" class="c-hand" [pRowToggler]="abuse"> | 78 | <td *ngIf="abuse.video.deleted" class="c-hand" [pRowToggler]="abuse"> |
79 | <div class="table-video" i18n-title title="Video was deleted"> | 79 | <div class="table-video" i18n-title title="Video was deleted"> |
80 | <div class="table-video-image"> | ||
81 | <span i18n>Deleted</span> | ||
82 | </div> | ||
83 | |||
84 | <div class="table-video-text"> | 80 | <div class="table-video-text"> |
85 | <div> | 81 | <div> |
86 | {{ abuse.video.name }} | 82 | {{ abuse.video.name }} |
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 b902726fa..08cf297cc 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 | |||
@@ -338,7 +338,7 @@ export class AbuseListTableComponent extends RestTable implements OnInit { | |||
338 | label: $localize`Block video`, | 338 | label: $localize`Block video`, |
339 | isDisplayed: abuse => abuse.video && !abuse.video.deleted && !abuse.video.blacklisted, | 339 | isDisplayed: abuse => abuse.video && !abuse.video.deleted && !abuse.video.blacklisted, |
340 | handler: abuse => { | 340 | handler: abuse => { |
341 | this.videoBlocklistService.blockVideo(abuse.video.id, undefined, abuse.video.channel.isLocal) | 341 | this.videoBlocklistService.blockVideo([ { videoId: abuse.video.id, unfederate: abuse.video.channel.isLocal } ]) |
342 | .subscribe({ | 342 | .subscribe({ |
343 | next: () => { | 343 | next: () => { |
344 | this.notifier.success($localize`Video blocked.`) | 344 | this.notifier.success($localize`Video blocked.`) |