ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix lint
Chocobozzzd5050d1e097e
diff --git a/client/src/app/+admin/friends/shared/friend.service.ts b/client/src/app/+admin/friends/shared/friend.service.tsindex 45607e28dc..274373e3b7 100644--- a/client/src/app/+admin/friends/shared/friend.service.ts+++ b/client/src/app/+admin/friends/shared/friend.service.ts@@ -3,7 +3,7 @@ import { HttpClient } from '@angular/common/http'import 'rxjs/add/operator/catch'import 'rxjs/add/operator/map'-import { RestExtractor, } from '../../../shared'+import { RestExtractor } from '../../../shared'import { Pod, ResultList } from '../../../../../../shared'@Injectable()diff --git a/client/src/app/+admin/video-abuses/video-abuse-list/video-abuse-list.component.ts b/client/src/app/+admin/video-abuses/video-abuse-list/video-abuse-list.component.tsindex cc9c1bdf43..5a0131a814 100644--- a/client/src/app/+admin/video-abuses/video-abuse-list/video-abuse-list.component.ts+++ b/client/src/app/+admin/video-abuses/video-abuse-list/video-abuse-list.component.ts@@ -13,7 +13,7 @@ import { VideoAbuse } from '../../../../../../shared'export class VideoAbuseListComponent extends RestTable implements OnInit {videoAbuses: VideoAbuse[] = []totalRecords = 0- rowsPerPage = 1+ rowsPerPage = 10sort: SortMeta = { field: 'id', order: 1 }pagination: RestPagination = { count: this.rowsPerPage, start: 0 }diff --git a/client/src/app/shared/rest/index.ts b/client/src/app/shared/rest/index.tsindex 3f1996130b..f00cda2b88 100644--- a/client/src/app/shared/rest/index.ts+++ b/client/src/app/shared/rest/index.ts@@ -1,4 +1,3 @@-export * from './rest-data-source'export * from './rest-extractor.service'export * from './rest-pagination'export * from './rest.service'diff --git a/client/src/app/shared/rest/rest-data-source.ts b/client/src/app/shared/rest/rest-data-source.tsdeleted file mode 100644index 57a2efb57b..0000000000--- a/client/src/app/shared/rest/rest-data-source.ts+++ /dev/null@@ -1,32 +0,0 @@-export class RestDataSource {- // protected addSortRequestOptions (requestOptions: RequestOptionsArgs) {- // const searchParams = requestOptions.params as URLSearchParams- //- // if (this.sortConf) {- // this.sortConf.forEach((fieldConf) => {- // const sortPrefix = fieldConf.direction === 'desc' ? '-' : ''- //- // searchParams.set(this.conf.sortFieldKey, sortPrefix + fieldConf.field)- // })- // }- //- // return requestOptions- // }- //- // protected addPagerRequestOptions (requestOptions: RequestOptionsArgs) {- // const searchParams = requestOptions.params as URLSearchParams- //- // if (this.pagingConf && this.pagingConf['page'] && this.pagingConf['perPage']) {- // const perPage = this.pagingConf['perPage']- // const page = this.pagingConf['page']- //- // const start = (page - 1) * perPage- // const count = perPage- //- // searchParams.set('start', start.toString())- // searchParams.set('count', count.toString())- // }- //- // return requestOptions- // }-}diff --git a/client/src/app/videos/video-list/video-list.component.ts b/client/src/app/videos/video-list/video-list.component.tsindex 5906320632..4714ce01eb 100644--- a/client/src/app/videos/video-list/video-list.component.ts+++ b/client/src/app/videos/video-list/video-list.component.ts@@ -13,7 +13,6 @@ import {} from '../shared'import { AuthService, AuthUser } from '../../core'import { Search, SearchField, SearchService } from '../../shared'-import { } from '../../shared'@Component({selector: 'my-videos-list',