diff options
Diffstat (limited to 'client/src/app/+admin/moderation/moderation.component.ts')
-rw-r--r-- | client/src/app/+admin/moderation/moderation.component.ts | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/client/src/app/+admin/moderation/moderation.component.ts b/client/src/app/+admin/moderation/moderation.component.ts deleted file mode 100644 index 44dd11c47..000000000 --- a/client/src/app/+admin/moderation/moderation.component.ts +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | import { Component, OnInit } from '@angular/core' | ||
2 | import { ServerService } from '@app/core' | ||
3 | |||
4 | @Component({ | ||
5 | templateUrl: './moderation.component.html', | ||
6 | styleUrls: [ ] | ||
7 | }) | ||
8 | export class ModerationComponent implements OnInit { | ||
9 | autoBlockVideosEnabled = false | ||
10 | |||
11 | constructor ( | ||
12 | private serverService: ServerService | ||
13 | ) { } | ||
14 | |||
15 | ngOnInit (): void { | ||
16 | const serverConfig = this.serverService.getHTMLConfig() | ||
17 | |||
18 | this.autoBlockVideosEnabled = serverConfig.autoBlacklist.videos.ofUsers.enabled | ||
19 | } | ||
20 | } | ||