X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared-abuse-list%2Fabuse-list-table.component.ts;h=8b5771237e30605109a1dd1ab21dbea76b6edbba;hb=931d3430184143ebd88e5243def6eb1d7acfdbf4;hp=807665b9c4a4da633afc8c790b7d28d18e0ce294;hpb=5beb89f223539f1e415a976ff104f772526b4d20;p=github%2FChocobozzz%2FPeerTube.git 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 807665b9c..8b5771237 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 @@ -70,7 +70,7 @@ export class AbuseListTableComponent extends RestTable implements OnInit, AfterV } ngAfterViewInit () { - if (this.search) this.setTableFilter(this.search) + if (this.search) this.setTableFilter(this.search, false) } isAdminView () { @@ -117,14 +117,11 @@ export class AbuseListTableComponent extends RestTable implements OnInit, AfterV warningTitle: false, startTime: abuse.video.startAt, stopTime: abuse.video.endAt - }) + }), + abuse.video.name ) } - switchToDefaultAvatar ($event: Event) { - ($event.target as HTMLImageElement).src = Actor.GET_DEFAULT_AVATAR_URL() - } - async removeAbuse (abuse: AdminAbuse) { const res = await this.confirmService.confirm($localize`Do you really want to delete this abuse report?`, $localize`Delete`) if (res === false) return