From 440d39c52d4efb878b6a2e21584d6b8f52072f27 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 8 Jan 2020 14:40:08 +0100 Subject: Skip videos count on client if we don't use it --- client/src/app/videos/+video-watch/comment/video-comment.service.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client/src/app/videos/+video-watch') diff --git a/client/src/app/videos/+video-watch/comment/video-comment.service.ts b/client/src/app/videos/+video-watch/comment/video-comment.service.ts index 72fbf5d25..a81e5236a 100644 --- a/client/src/app/videos/+video-watch/comment/video-comment.service.ts +++ b/client/src/app/videos/+video-watch/comment/video-comment.service.ts @@ -3,7 +3,7 @@ import { HttpClient, HttpParams } from '@angular/common/http' import { Injectable } from '@angular/core' import { objectLineFeedToHtml } from '@app/shared/misc/utils' import { Observable } from 'rxjs' -import { ResultList, FeedFormat } from '../../../../../../shared/models' +import { FeedFormat, ResultList } from '../../../../../../shared/models' import { VideoComment as VideoCommentServerModel, VideoCommentCreate, @@ -11,7 +11,7 @@ import { } from '../../../../../../shared/models/videos/video-comment.model' import { environment } from '../../../../environments/environment' import { RestExtractor, RestService } from '../../../shared/rest' -import { ComponentPagination } from '../../../shared/rest/component-pagination.model' +import { ComponentPaginationLight } from '../../../shared/rest/component-pagination.model' import { CommentSortField } from '../../../shared/video/sort-field.type' import { VideoComment } from './video-comment.model' @@ -50,7 +50,7 @@ export class VideoCommentService { getVideoCommentThreads (parameters: { videoId: number | string, - componentPagination: ComponentPagination, + componentPagination: ComponentPaginationLight, sort: CommentSortField }): Observable> { const { videoId, componentPagination, sort } = parameters -- cgit v1.2.3