diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2019-12-27 17:02:34 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2019-12-27 17:02:44 +0100 |
commit | c1125bcadc1fa129856e56dc62f4c472cffa736a (patch) | |
tree | e6873bf7a306bfe809809f099d2d465dae3407b0 /client/src/app/videos/+video-watch/comment/video-comment.service.ts | |
parent | 6f79be110d31f4f751b989fe36b9de0d0f259fe0 (diff) | |
download | PeerTube-c1125bcadc1fa129856e56dc62f4c472cffa736a.tar.gz PeerTube-c1125bcadc1fa129856e56dc62f4c472cffa736a.tar.zst PeerTube-c1125bcadc1fa129856e56dc62f4c472cffa736a.zip |
Add comment filtering by reply count
Diffstat (limited to 'client/src/app/videos/+video-watch/comment/video-comment.service.ts')
-rw-r--r-- | client/src/app/videos/+video-watch/comment/video-comment.service.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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 550d42fa8..72fbf5d25 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 | |||
@@ -12,7 +12,7 @@ import { | |||
12 | import { environment } from '../../../../environments/environment' | 12 | import { environment } from '../../../../environments/environment' |
13 | import { RestExtractor, RestService } from '../../../shared/rest' | 13 | import { RestExtractor, RestService } from '../../../shared/rest' |
14 | import { ComponentPagination } from '../../../shared/rest/component-pagination.model' | 14 | import { ComponentPagination } from '../../../shared/rest/component-pagination.model' |
15 | import { VideoSortField } from '../../../shared/video/sort-field.type' | 15 | import { CommentSortField } from '../../../shared/video/sort-field.type' |
16 | import { VideoComment } from './video-comment.model' | 16 | import { VideoComment } from './video-comment.model' |
17 | 17 | ||
18 | @Injectable() | 18 | @Injectable() |
@@ -51,7 +51,7 @@ export class VideoCommentService { | |||
51 | getVideoCommentThreads (parameters: { | 51 | getVideoCommentThreads (parameters: { |
52 | videoId: number | string, | 52 | videoId: number | string, |
53 | componentPagination: ComponentPagination, | 53 | componentPagination: ComponentPagination, |
54 | sort: VideoSortField | 54 | sort: CommentSortField |
55 | }): Observable<ResultList<VideoComment>> { | 55 | }): Observable<ResultList<VideoComment>> { |
56 | const { videoId, componentPagination, sort } = parameters | 56 | const { videoId, componentPagination, sort } = parameters |
57 | 57 | ||