aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-05-03 16:23:09 +0200
committerRigel Kent <par@rigelk.eu>2020-05-04 15:01:44 +0200
commit0db536f1e00e2f0c019b5ea3807f1d9125ff4f1d (patch)
treedcd1493bc6d24cfa835d137ee133e01d4365e324 /client/src/app/+admin
parentd405118360b7356d86cd570ceb665d38cc1c17f7 (diff)
downloadPeerTube-0db536f1e00e2f0c019b5ea3807f1d9125ff4f1d.tar.gz
PeerTube-0db536f1e00e2f0c019b5ea3807f1d9125ff4f1d.tar.zst
PeerTube-0db536f1e00e2f0c019b5ea3807f1d9125ff4f1d.zip
Only show updatedAt date of abuse if different from createdAt
Diffstat (limited to 'client/src/app/+admin')
-rw-r--r--client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts1
1 files changed, 1 insertions, 0 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 },