diff options
author | Chocobozzz <me@florianbigard.com> | 2019-10-21 13:31:58 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-10-21 13:31:58 +0200 |
commit | baeb429d06d101f69c677fdb70c3da2eb9d3823d (patch) | |
tree | c5bf70c96cb4eaf4f1cc8c32e4df88c7f4a132bb /client/src/app/search/search-filters.component.ts | |
parent | f1b38883922fd59b36f093e44a5091e090d20862 (diff) | |
download | PeerTube-baeb429d06d101f69c677fdb70c3da2eb9d3823d.tar.gz PeerTube-baeb429d06d101f69c677fdb70c3da2eb9d3823d.tar.zst PeerTube-baeb429d06d101f69c677fdb70c3da2eb9d3823d.zip |
Fix search with account video languages
Diffstat (limited to 'client/src/app/search/search-filters.component.ts')
-rw-r--r-- | client/src/app/search/search-filters.component.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/search/search-filters.component.ts b/client/src/app/search/search-filters.component.ts index e13aa91bf..14a05b721 100644 --- a/client/src/app/search/search-filters.component.ts +++ b/client/src/app/search/search-filters.component.ts | |||
@@ -83,9 +83,9 @@ export class SearchFiltersComponent implements OnInit { | |||
83 | } | 83 | } |
84 | 84 | ||
85 | ngOnInit () { | 85 | ngOnInit () { |
86 | this.videoCategories = this.serverService.getVideoCategories() | 86 | this.serverService.videoCategoriesLoaded.subscribe(() => this.videoCategories = this.serverService.getVideoCategories()) |
87 | this.videoLicences = this.serverService.getVideoLicences() | 87 | this.serverService.videoLicencesLoaded.subscribe(() => this.videoLicences = this.serverService.getVideoLicences()) |
88 | this.videoLanguages = this.serverService.getVideoLanguages() | 88 | this.serverService.videoLanguagesLoaded.subscribe(() => this.videoLanguages = this.serverService.getVideoLanguages()) |
89 | 89 | ||
90 | this.loadFromDurationRange() | 90 | this.loadFromDurationRange() |
91 | this.loadFromPublishedRange() | 91 | this.loadFromPublishedRange() |