diff options
author | Chocobozzz <me@florianbigard.com> | 2020-07-09 15:54:24 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-07-10 14:02:41 +0200 |
commit | cfde28bac33c3644e1b6218eb471b675a37def60 (patch) | |
tree | eb648fc358a2face0f14c598c8eec7769e6b0ed5 /client/src/app/shared/shared-moderation/shared-moderation.module.ts | |
parent | 8ca56654a176ee8f350d31282c6cac4a59f58499 (diff) | |
download | PeerTube-cfde28bac33c3644e1b6218eb471b675a37def60.tar.gz PeerTube-cfde28bac33c3644e1b6218eb471b675a37def60.tar.zst PeerTube-cfde28bac33c3644e1b6218eb471b675a37def60.zip |
Add ability to report account
Diffstat (limited to 'client/src/app/shared/shared-moderation/shared-moderation.module.ts')
-rw-r--r-- | client/src/app/shared/shared-moderation/shared-moderation.module.ts | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/client/src/app/shared/shared-moderation/shared-moderation.module.ts b/client/src/app/shared/shared-moderation/shared-moderation.module.ts index ff4021a33..8fa9ee794 100644 --- a/client/src/app/shared/shared-moderation/shared-moderation.module.ts +++ b/client/src/app/shared/shared-moderation/shared-moderation.module.ts | |||
@@ -3,22 +3,23 @@ import { NgModule } from '@angular/core' | |||
3 | import { SharedFormModule } from '../shared-forms/shared-form.module' | 3 | import { SharedFormModule } from '../shared-forms/shared-form.module' |
4 | import { SharedGlobalIconModule } from '../shared-icons' | 4 | import { SharedGlobalIconModule } from '../shared-icons' |
5 | import { SharedMainModule } from '../shared-main/shared-main.module' | 5 | import { SharedMainModule } from '../shared-main/shared-main.module' |
6 | import { SharedVideoCommentModule } from '../shared-video-comment' | ||
7 | import { AbuseService } from './abuse.service' | ||
6 | import { BatchDomainsModalComponent } from './batch-domains-modal.component' | 8 | import { BatchDomainsModalComponent } from './batch-domains-modal.component' |
7 | import { BlocklistService } from './blocklist.service' | 9 | import { BlocklistService } from './blocklist.service' |
8 | import { BulkService } from './bulk.service' | 10 | import { BulkService } from './bulk.service' |
9 | import { UserBanModalComponent } from './user-ban-modal.component' | 11 | import { UserBanModalComponent } from './user-ban-modal.component' |
10 | import { UserModerationDropdownComponent } from './user-moderation-dropdown.component' | 12 | import { UserModerationDropdownComponent } from './user-moderation-dropdown.component' |
11 | import { AbuseService } from './abuse.service' | ||
12 | import { VideoBlockComponent } from './video-block.component' | 13 | import { VideoBlockComponent } from './video-block.component' |
13 | import { VideoBlockService } from './video-block.service' | 14 | import { VideoBlockService } from './video-block.service' |
14 | import { VideoReportComponent } from './video-report.component' | 15 | import { VideoReportComponent, AccountReportComponent, CommentReportComponent } from './report-modals' |
15 | import { CommentReportComponent } from './comment-report.component' | ||
16 | 16 | ||
17 | @NgModule({ | 17 | @NgModule({ |
18 | imports: [ | 18 | imports: [ |
19 | SharedMainModule, | 19 | SharedMainModule, |
20 | SharedFormModule, | 20 | SharedFormModule, |
21 | SharedGlobalIconModule | 21 | SharedGlobalIconModule, |
22 | SharedVideoCommentModule | ||
22 | ], | 23 | ], |
23 | 24 | ||
24 | declarations: [ | 25 | declarations: [ |
@@ -27,7 +28,8 @@ import { CommentReportComponent } from './comment-report.component' | |||
27 | VideoBlockComponent, | 28 | VideoBlockComponent, |
28 | VideoReportComponent, | 29 | VideoReportComponent, |
29 | BatchDomainsModalComponent, | 30 | BatchDomainsModalComponent, |
30 | CommentReportComponent | 31 | CommentReportComponent, |
32 | AccountReportComponent | ||
31 | ], | 33 | ], |
32 | 34 | ||
33 | exports: [ | 35 | exports: [ |
@@ -36,7 +38,8 @@ import { CommentReportComponent } from './comment-report.component' | |||
36 | VideoBlockComponent, | 38 | VideoBlockComponent, |
37 | VideoReportComponent, | 39 | VideoReportComponent, |
38 | BatchDomainsModalComponent, | 40 | BatchDomainsModalComponent, |
39 | CommentReportComponent | 41 | CommentReportComponent, |
42 | AccountReportComponent | ||
40 | ], | 43 | ], |
41 | 44 | ||
42 | providers: [ | 45 | providers: [ |