aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/moderation
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-07-24 16:05:59 +0200
committerChocobozzz <me@florianbigard.com>2019-07-25 11:00:43 +0200
commitf36da21e40104a50acb00132920b835240cebb38 (patch)
treea513f8a31b3538b9bc6d1d52897d6b2fa04b45ba /client/src/app/+admin/moderation
parenta353a4d77c2109f3d2412c54850a6534cf3b0b7f (diff)
downloadPeerTube-f36da21e40104a50acb00132920b835240cebb38.tar.gz
PeerTube-f36da21e40104a50acb00132920b835240cebb38.tar.zst
PeerTube-f36da21e40104a50acb00132920b835240cebb38.zip
Update angular
Diffstat (limited to 'client/src/app/+admin/moderation')
-rw-r--r--client/src/app/+admin/moderation/video-abuse-list/moderation-comment-modal.component.ts2
-rw-r--r--client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+admin/moderation/video-abuse-list/moderation-comment-modal.component.ts b/client/src/app/+admin/moderation/video-abuse-list/moderation-comment-modal.component.ts
index f915978ee..f8a5ef8cb 100644
--- a/client/src/app/+admin/moderation/video-abuse-list/moderation-comment-modal.component.ts
+++ b/client/src/app/+admin/moderation/video-abuse-list/moderation-comment-modal.component.ts
@@ -13,7 +13,7 @@ import { VideoAbuse } from '../../../../../../shared/models/videos'
13 styleUrls: [ './moderation-comment-modal.component.scss' ] 13 styleUrls: [ './moderation-comment-modal.component.scss' ]
14}) 14})
15export class ModerationCommentModalComponent extends FormReactive implements OnInit { 15export class ModerationCommentModalComponent extends FormReactive implements OnInit {
16 @ViewChild('modal') modal: NgbModal 16 @ViewChild('modal', { static: true }) modal: NgbModal
17 @Output() commentUpdated = new EventEmitter<string>() 17 @Output() commentUpdated = new EventEmitter<string>()
18 18
19 private abuseToComment: VideoAbuse 19 private abuseToComment: VideoAbuse
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 3aa875668..778f18d3d 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
@@ -17,7 +17,7 @@ import { MarkdownService } from '@app/shared/renderer'
17 styleUrls: [ '../moderation.component.scss'] 17 styleUrls: [ '../moderation.component.scss']
18}) 18})
19export class VideoAbuseListComponent extends RestTable implements OnInit { 19export class VideoAbuseListComponent extends RestTable implements OnInit {
20 @ViewChild('moderationCommentModal') moderationCommentModal: ModerationCommentModalComponent 20 @ViewChild('moderationCommentModal', { static: true }) moderationCommentModal: ModerationCommentModalComponent
21 21
22 videoAbuses: (VideoAbuse & { moderationCommentHtml?: string, reasonHtml?: string })[] = [] 22 videoAbuses: (VideoAbuse & { moderationCommentHtml?: string, reasonHtml?: string })[] = []
23 totalRecords = 0 23 totalRecords = 0