aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-moderation/report-modals/comment-report.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-10-07 15:26:53 +0200
committerChocobozzz <me@florianbigard.com>2022-10-07 15:26:53 +0200
commit5c5bcea2e64daf0a66a796c89432732ed27308d2 (patch)
tree96cec8f275c5dc3d71c284453af41a4915521686 /client/src/app/shared/shared-moderation/report-modals/comment-report.component.ts
parenta69ea13086273fc6659c153be93f0f5b37aad733 (diff)
downloadPeerTube-5c5bcea2e64daf0a66a796c89432732ed27308d2.tar.gz
PeerTube-5c5bcea2e64daf0a66a796c89432732ed27308d2.tar.zst
PeerTube-5c5bcea2e64daf0a66a796c89432732ed27308d2.zip
Refactor form reactive
Diffstat (limited to 'client/src/app/shared/shared-moderation/report-modals/comment-report.component.ts')
-rw-r--r--client/src/app/shared/shared-moderation/report-modals/comment-report.component.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-moderation/report-modals/comment-report.component.ts b/client/src/app/shared/shared-moderation/report-modals/comment-report.component.ts
index 7c0907ce4..e35d70c8f 100644
--- a/client/src/app/shared/shared-moderation/report-modals/comment-report.component.ts
+++ b/client/src/app/shared/shared-moderation/report-modals/comment-report.component.ts
@@ -2,7 +2,7 @@ import { mapValues, pickBy } from 'lodash-es'
2import { Component, Input, OnInit, ViewChild } from '@angular/core' 2import { Component, Input, OnInit, ViewChild } from '@angular/core'
3import { Notifier } from '@app/core' 3import { Notifier } from '@app/core'
4import { ABUSE_REASON_VALIDATOR } from '@app/shared/form-validators/abuse-validators' 4import { ABUSE_REASON_VALIDATOR } from '@app/shared/form-validators/abuse-validators'
5import { FormReactive, FormValidatorService } from '@app/shared/shared-forms' 5import { FormReactive, FormReactiveService } from '@app/shared/shared-forms'
6import { VideoComment } from '@app/shared/shared-video-comment' 6import { VideoComment } from '@app/shared/shared-video-comment'
7import { NgbModal } from '@ng-bootstrap/ng-bootstrap' 7import { NgbModal } from '@ng-bootstrap/ng-bootstrap'
8import { NgbModalRef } from '@ng-bootstrap/ng-bootstrap/modal/modal-ref' 8import { NgbModalRef } from '@ng-bootstrap/ng-bootstrap/modal/modal-ref'
@@ -27,7 +27,7 @@ export class CommentReportComponent extends FormReactive implements OnInit {
27 private openedModal: NgbModalRef 27 private openedModal: NgbModalRef
28 28
29 constructor ( 29 constructor (
30 protected formValidatorService: FormValidatorService, 30 protected formReactiveService: FormReactiveService,
31 private modalService: NgbModal, 31 private modalService: NgbModal,
32 private abuseService: AbuseService, 32 private abuseService: AbuseService,
33 private notifier: Notifier 33 private notifier: Notifier