From 9df52d660feb722404be00a50f3c8a612bec1c15 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 17 Aug 2021 14:42:53 +0200 Subject: Migrate client to eslint --- .../src/app/+admin/follows/following-list/following-list.component.ts | 3 +-- client/src/app/+admin/follows/shared/redundancy-checkbox.component.ts | 2 +- .../video-redundancies-list/video-redundancies-list.component.ts | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) (limited to 'client/src/app/+admin/follows') diff --git a/client/src/app/+admin/follows/following-list/following-list.component.ts b/client/src/app/+admin/follows/following-list/following-list.component.ts index cf0225098..383f66ffd 100644 --- a/client/src/app/+admin/follows/following-list/following-list.component.ts +++ b/client/src/app/+admin/follows/following-list/following-list.component.ts @@ -2,7 +2,6 @@ import { SortMeta } from 'primeng/api' import { Component, OnInit, ViewChild } from '@angular/core' import { ConfirmService, Notifier, RestPagination, RestTable } from '@app/core' import { InstanceFollowService } from '@app/shared/shared-instance' -import { BatchDomainsModalComponent } from '@app/shared/shared-moderation' import { ActorFollow } from '@shared/models' import { FollowModalComponent } from './follow-modal.component' @@ -22,7 +21,7 @@ export class FollowingListComponent extends RestTable implements OnInit { private notifier: Notifier, private confirmService: ConfirmService, private followService: InstanceFollowService - ) { + ) { super() } diff --git a/client/src/app/+admin/follows/shared/redundancy-checkbox.component.ts b/client/src/app/+admin/follows/shared/redundancy-checkbox.component.ts index 47c402510..95f8473db 100644 --- a/client/src/app/+admin/follows/shared/redundancy-checkbox.component.ts +++ b/client/src/app/+admin/follows/shared/redundancy-checkbox.component.ts @@ -14,7 +14,7 @@ export class RedundancyCheckboxComponent { constructor ( private notifier: Notifier, private redundancyService: RedundancyService - ) { } + ) { } updateRedundancyState () { this.redundancyService.updateRedundancy(this.host, this.redundancyAllowed) diff --git a/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.ts b/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.ts index 4c691269a..7ffed83e8 100644 --- a/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.ts +++ b/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.ts @@ -21,7 +21,7 @@ export class VideoRedundanciesListComponent extends RestTable implements OnInit pagination: RestPagination = { count: this.rowsPerPage, start: 0 } displayType: VideoRedundanciesTarget = 'my-videos' - redundanciesGraphsData: { stats: VideosRedundancyStats, graphData: object, options: object }[] = [] + redundanciesGraphsData: { stats: VideosRedundancyStats, graphData: any, options: any }[] = [] noRedundancies = false @@ -32,7 +32,7 @@ export class VideoRedundanciesListComponent extends RestTable implements OnInit private confirmService: ConfirmService, private redundancyService: RedundancyService, private serverService: ServerService - ) { + ) { super() this.bytesPipe = new BytesPipe() -- cgit v1.2.3