aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-moderation
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-08-06 16:14:58 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-08-07 08:28:14 +0200
commita02b93ce756d646a59cef57b5e4ff53c2bb30bec (patch)
tree02c70651eed0a4c414e04239aa853b2377228ce9 /client/src/app/shared/shared-moderation
parentd88c9eb9db19965d0075d5835b8837649b2728fd (diff)
downloadPeerTube-a02b93ce756d646a59cef57b5e4ff53c2bb30bec.tar.gz
PeerTube-a02b93ce756d646a59cef57b5e4ff53c2bb30bec.tar.zst
PeerTube-a02b93ce756d646a59cef57b5e4ff53c2bb30bec.zip
Fix lint
Diffstat (limited to 'client/src/app/shared/shared-moderation')
-rw-r--r--client/src/app/shared/shared-moderation/account-blocklist.component.ts1
-rw-r--r--client/src/app/shared/shared-moderation/server-blocklist.component.ts5
2 files changed, 4 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-moderation/account-blocklist.component.ts b/client/src/app/shared/shared-moderation/account-blocklist.component.ts
index 11e554978..a5a3c27cd 100644
--- a/client/src/app/shared/shared-moderation/account-blocklist.component.ts
+++ b/client/src/app/shared/shared-moderation/account-blocklist.component.ts
@@ -7,6 +7,7 @@ import { AccountBlock } from './account-block.model'
7import { BlocklistComponentType, BlocklistService } from './blocklist.service' 7import { BlocklistComponentType, BlocklistService } from './blocklist.service'
8 8
9@Directive() 9@Directive()
10// tslint:disable-next-line: directive-class-suffix
10export class GenericAccountBlocklistComponent extends RestTable implements OnInit { 11export class GenericAccountBlocklistComponent extends RestTable implements OnInit {
11 // @ts-ignore: "Abstract methods can only appear within an abstract class" 12 // @ts-ignore: "Abstract methods can only appear within an abstract class"
12 abstract mode: BlocklistComponentType 13 abstract mode: BlocklistComponentType
diff --git a/client/src/app/shared/shared-moderation/server-blocklist.component.ts b/client/src/app/shared/shared-moderation/server-blocklist.component.ts
index 694b03762..8f65cdb71 100644
--- a/client/src/app/shared/shared-moderation/server-blocklist.component.ts
+++ b/client/src/app/shared/shared-moderation/server-blocklist.component.ts
@@ -1,12 +1,13 @@
1import { SortMeta } from 'primeng/api' 1import { SortMeta } from 'primeng/api'
2import { OnInit, ViewChild, Directive } from '@angular/core' 2import { Directive, OnInit, ViewChild } from '@angular/core'
3import { BatchDomainsModalComponent } from '@app/shared/shared-moderation/batch-domains-modal.component'
4import { Notifier, RestPagination, RestTable } from '@app/core' 3import { Notifier, RestPagination, RestTable } from '@app/core'
4import { BatchDomainsModalComponent } from '@app/shared/shared-moderation/batch-domains-modal.component'
5import { I18n } from '@ngx-translate/i18n-polyfill' 5import { I18n } from '@ngx-translate/i18n-polyfill'
6import { ServerBlock } from '@shared/models' 6import { ServerBlock } from '@shared/models'
7import { BlocklistComponentType, BlocklistService } from './blocklist.service' 7import { BlocklistComponentType, BlocklistService } from './blocklist.service'
8 8
9@Directive() 9@Directive()
10// tslint:disable-next-line: directive-class-suffix
10export class GenericServerBlocklistComponent extends RestTable implements OnInit { 11export class GenericServerBlocklistComponent extends RestTable implements OnInit {
11 @ViewChild('batchDomainsModal') batchDomainsModal: BatchDomainsModalComponent 12 @ViewChild('batchDomainsModal') batchDomainsModal: BatchDomainsModalComponent
12 13