Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Bugfix/fix hidden statistics values (#552)
Thomas Kaul0806d0dc922f
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 4d1fc56bcc..b23a9d1f29 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0### Fixed- Fixed the symbol conversion from _Yahoo Finance_ including a hyphen+- Fixed hidden values (`0`) in the statistics section on the about page### Tododiff --git a/apps/client/src/app/pages/about/about-page.html b/apps/client/src/app/pages/about/about-page.htmlindex a8462f5c16..e9e9482a83 100644--- a/apps/client/src/app/pages/about/about-page.html+++ b/apps/client/src/app/pages/about/about-page.html@@ -108,8 +108,11 @@<mat-card-content><div class="row"><div class="col-xs-12 col-md-4 my-2">- <h3 class="mb-0" [hidden]="!statistics?.activeUsers1d">- {{ statistics?.activeUsers1d ?? '-' }}+ <h3+ class="mb-0"+ [hidden]="statistics?.activeUsers1d === undefined"+ >+ {{ statistics?.activeUsers1d || '-' }}</h3><div class="h6 mb-0"><span i18n>Active Users</span> <small class="text-muted"@@ -118,7 +121,10 @@</div></div><div class="col-xs-12 col-md-4 my-2">- <h3 class="mb-0" [hidden]="!statistics?.activeUsers7d">+ <h3+ class="mb-0"+ [hidden]="statistics?.activeUsers7d === undefined"+ >{{ statistics?.activeUsers7d ?? '-' }}</h3><div class="h6 mb-0">@@ -128,7 +134,10 @@</div></div><div class="col-xs-12 col-md-4 my-2">- <h3 class="mb-0" [hidden]="!statistics?.activeUsers30d">+ <h3+ class="mb-0"+ [hidden]="statistics?.activeUsers30d === undefined"+ >{{ statistics?.activeUsers30d ?? '-' }}</h3><div class="h6 mb-0">@@ -138,7 +147,7 @@</div></div><div class="col-xs-12 col-md-4 my-2">- <h3 class="mb-0" [hidden]="!statistics?.newUsers30d">+ <h3 class="mb-0" [hidden]="statistics?.newUsers30d === undefined">{{ statistics?.newUsers30d ?? '-' }}</h3><div class="h6 mb-0">@@ -148,13 +157,19 @@</div></div><div class="col-xs-12 col-md-4 my-2">- <h3 class="mb-0" [hidden]="!statistics?.gitHubContributors">+ <h3+ class="mb-0"+ [hidden]="statistics?.gitHubContributors === undefined"+ >{{ statistics?.gitHubContributors ?? '-' }}</h3><div class="h6 mb-0" i18n>Contributors on GitHub</div></div><div class="col-xs-12 col-md-4 my-2">- <h3 class="mb-0" [hidden]="!statistics?.gitHubStargazers">+ <h3+ class="mb-0"+ [hidden]="statistics?.gitHubStargazers === undefined"+ >{{ statistics?.gitHubStargazers ?? '-' }}</h3><div class="h6 mb-0" i18n>Stars on GitHub</div>