From b819b0e007e578bf3d8425f19591f87029c64d06 Mon Sep 17 00:00:00 2001 From: Victor Usoltsev Date: Thu, 28 Oct 2021 10:30:14 +1300 Subject: [PATCH 1/2] fix: :bug: Hides no results message during search. (#4375) --- .../search-results/search-results.component.html | 5 ++--- .../components/search-results/search-results.component.ts | 7 +++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/Ombi/ClientApp/src/app/discover/components/search-results/search-results.component.html b/src/Ombi/ClientApp/src/app/discover/components/search-results/search-results.component.html index 2bd13441d..4ef9255fb 100644 --- a/src/Ombi/ClientApp/src/app/discover/components/search-results/search-results.component.html +++ b/src/Ombi/ClientApp/src/app/discover/components/search-results/search-results.component.html @@ -1,14 +1,13 @@
-
-
+
-
+

{{'Discovery.NoSearch' | translate}}

diff --git a/src/Ombi/ClientApp/src/app/discover/components/search-results/search-results.component.ts b/src/Ombi/ClientApp/src/app/discover/components/search-results/search-results.component.ts index bef8bae03..f0258b97d 100644 --- a/src/Ombi/ClientApp/src/app/discover/components/search-results/search-results.component.ts +++ b/src/Ombi/ClientApp/src/app/discover/components/search-results/search-results.component.ts @@ -50,7 +50,6 @@ export class DiscoverSearchResultsComponent implements OnInit { this.clear(); this.loadAdvancedData(); }); - } public async ngOnInit() { @@ -79,8 +78,7 @@ export class DiscoverSearchResultsComponent implements OnInit { await this.search(); } - public createInitalModel() { - this.finishLoading(); + private createInitialModel() { this.results.forEach(m => { let mediaType = RequestType.movie; @@ -119,6 +117,7 @@ export class DiscoverSearchResultsComponent implements OnInit { tvMovieDb: mediaType === RequestType.tvShow ? true : false }); }); + this.finishLoading(); } private loading() { @@ -180,6 +179,6 @@ export class DiscoverSearchResultsComponent implements OnInit { this.clear(); this.results = await this.searchService .multiSearch(this.searchTerm, this.filter).toPromise(); - this.createInitalModel(); + this.createInitialModel(); } } From 000f6f752a0a9beb20c80315f042a54b7459b84c Mon Sep 17 00:00:00 2001 From: Conventional Changelog Action Date: Wed, 27 Oct 2021 21:33:52 +0000 Subject: [PATCH 2/2] chore(release): :rocket: v4.3.1 --- CHANGELOG.md | 18 +++++++++--------- version.json | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d74042ee1..a73661d7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [4.3.1](https://github.com/Ombi-app/Ombi/compare/v4.3.0...v4.3.1) (2021-10-27) + + +### Bug Fixes + +* :bug: Hides no results message during search. ([#4375](https://github.com/Ombi-app/Ombi/issues/4375)) ([b819b0e](https://github.com/Ombi-app/Ombi/commit/b819b0e007e578bf3d8425f19591f87029c64d06)) + + + # [4.3.0](https://github.com/Ombi-app/Ombi/compare/v4.2.13...v4.3.0) (2021-10-20) @@ -53,12 +62,3 @@ -## [4.2.10](https://github.com/Ombi-app/Ombi/compare/v4.2.9...v4.2.10) (2021-10-15) - - -### Bug Fixes - -* :bug: Really really fix it this time? ([543d36e](https://github.com/Ombi-app/Ombi/commit/543d36e5615341bc8378cac377b843a3dbc1ef99)) - - - diff --git a/version.json b/version.json index 0f81474a8..dcb7c6a7b 100644 --- a/version.json +++ b/version.json @@ -1,3 +1,3 @@ { - "version": "4.3.0" + "version": "4.3.1" } \ No newline at end of file