diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-27 14:37:04 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-10-29 11:48:21 +0200 |
commit | 2760b454a761f6af3138b2fb5f34340772ab0d1e (patch) | |
tree | 2b3a2d81478f8b432eb54cce4caa5a760c494627 /client/src/app/+videos | |
parent | e4611b54910d8e7f2b4f8a97ee2d9cc8e1054127 (diff) | |
download | PeerTube-2760b454a761f6af3138b2fb5f34340772ab0d1e.tar.gz PeerTube-2760b454a761f6af3138b2fb5f34340772ab0d1e.tar.zst PeerTube-2760b454a761f6af3138b2fb5f34340772ab0d1e.zip |
Deprecate filter video query
Introduce include and isLocal instead
Diffstat (limited to 'client/src/app/+videos')
-rw-r--r-- | client/src/app/+videos/+video-watch/shared/information/video-alert.component.html | 2 | ||||
-rw-r--r-- | client/src/app/+videos/video-list/videos-list-common-page.component.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+videos/+video-watch/shared/information/video-alert.component.html b/client/src/app/+videos/+video-watch/shared/information/video-alert.component.html index e2dd44bf7..33b5a47a0 100644 --- a/client/src/app/+videos/+video-watch/shared/information/video-alert.component.html +++ b/client/src/app/+videos/+video-watch/shared/information/video-alert.component.html | |||
@@ -24,5 +24,5 @@ | |||
24 | 24 | ||
25 | <div class="alert alert-danger" *ngIf="video?.blacklisted"> | 25 | <div class="alert alert-danger" *ngIf="video?.blacklisted"> |
26 | <div class="blocked-label" i18n>This video is blocked.</div> | 26 | <div class="blocked-label" i18n>This video is blocked.</div> |
27 | {{ video.blockedReason }} | 27 | {{ video.blacklistedReason }} |
28 | </div> | 28 | </div> |
diff --git a/client/src/app/+videos/video-list/videos-list-common-page.component.ts b/client/src/app/+videos/video-list/videos-list-common-page.component.ts index ba64d4fec..d03b09610 100644 --- a/client/src/app/+videos/video-list/videos-list-common-page.component.ts +++ b/client/src/app/+videos/video-list/videos-list-common-page.component.ts | |||
@@ -85,7 +85,7 @@ export class VideosListCommonPageComponent implements OnInit, OnDestroy, Disable | |||
85 | getSyndicationItems (filters: VideoFilters) { | 85 | getSyndicationItems (filters: VideoFilters) { |
86 | const result = filters.toVideosAPIObject() | 86 | const result = filters.toVideosAPIObject() |
87 | 87 | ||
88 | return this.videoService.getVideoFeedUrls(result.sort, result.filter) | 88 | return this.videoService.getVideoFeedUrls(result.sort, result.isLocal) |
89 | } | 89 | } |
90 | 90 | ||
91 | onFiltersChanged (filters: VideoFilters) { | 91 | onFiltersChanged (filters: VideoFilters) { |