Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Bugfix/data provider status component incorrectly shows "Available" on API Error (#5466)
Kenrick Tandrian455325c3be9d
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex f74ae59d56..293b6e116f 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).+## Unreleased++### Fixed++- Fixed an issue related to the error handling in the data provider status component+## 2.196.0 - 2025-09-04### Changeddiff --git a/apps/client/src/app/components/data-provider-status/data-provider-status.component.ts b/apps/client/src/app/components/data-provider-status/data-provider-status.component.tsindex 02cda10561..0f638961cb 100644--- a/apps/client/src/app/components/data-provider-status/data-provider-status.component.ts+++ b/apps/client/src/app/components/data-provider-status/data-provider-status.component.ts@@ -33,12 +33,12 @@ export class GfDataProviderStatusComponent implements OnDestroy, OnInit {this.status$ = this.dataService.fetchDataProviderHealth(this.dataSource).pipe(- catchError(() => {- return of({ isHealthy: false });- }),map(() => {return { isHealthy: true };}),+ catchError(() => {+ return of({ isHealthy: false });+ }),takeUntil(this.unsubscribeSubject));}