aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts1
-rw-r--r--client/src/app/shared/video-abuse/video-abuse.service.ts1
2 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts b/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts
index e87163c4f..83d194d52 100644
--- a/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts
+++ b/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts
@@ -289,6 +289,7 @@ export class VideoAbuseListComponent extends RestTable implements OnInit, AfterV
289 embedHtml: this.sanitizer.bypassSecurityTrustHtml(this.getVideoEmbed(abuse)), 289 embedHtml: this.sanitizer.bypassSecurityTrustHtml(this.getVideoEmbed(abuse)),
290 reporterAccount: new Account(abuse.reporterAccount) 290 reporterAccount: new Account(abuse.reporterAccount)
291 }) 291 })
292 if (abuse.updatedAt === abuse.createdAt) delete abuse.updatedAt
292 } 293 }
293 294
294 }, 295 },
diff --git a/client/src/app/shared/video-abuse/video-abuse.service.ts b/client/src/app/shared/video-abuse/video-abuse.service.ts
index a39ad31d4..1ab6b5376 100644
--- a/client/src/app/shared/video-abuse/video-abuse.service.ts
+++ b/client/src/app/shared/video-abuse/video-abuse.service.ts
@@ -32,7 +32,6 @@ export class VideoAbuseService {
32 32
33 return this.authHttp.get<ResultList<VideoAbuse>>(url, { params }) 33 return this.authHttp.get<ResultList<VideoAbuse>>(url, { params })
34 .pipe( 34 .pipe(
35 map(res => this.restExtractor.convertResultListDateToHuman(res)),
36 catchError(res => this.restExtractor.handleError(res)) 35 catchError(res => this.restExtractor.handleError(res))
37 ) 36 )
38 } 37 }