aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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
-rw-r--r--shared/models/videos/abuse/video-abuse.model.ts2
3 files changed, 2 insertions, 2 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 }
diff --git a/shared/models/videos/abuse/video-abuse.model.ts b/shared/models/videos/abuse/video-abuse.model.ts
index f2c2cdc41..bbef7f4f9 100644
--- a/shared/models/videos/abuse/video-abuse.model.ts
+++ b/shared/models/videos/abuse/video-abuse.model.ts
@@ -23,7 +23,7 @@ export interface VideoAbuse {
23 } 23 }
24 24
25 createdAt: Date 25 createdAt: Date
26 updatedAt: Date 26 updatedAt?: Date
27 27
28 count?: number 28 count?: number
29 nth?: number 29 nth?: number