Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Bugfix/fix value in holdings table (#2182)
Thomas Kaul5fe07cb85f1e
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 1be362416c..a98558fc97 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 the missing values in the holdings table+## 1.292.0 - 2023-07-24### Addeddiff --git a/libs/ui/src/lib/holdings-table/holdings-table.component.html b/libs/ui/src/lib/holdings-table/holdings-table.component.htmlindex 5be58e663d..29e3eeb1f3 100644--- a/libs/ui/src/lib/holdings-table/holdings-table.component.html+++ b/libs/ui/src/lib/holdings-table/holdings-table.component.html@@ -61,7 +61,7 @@</td></ng-container>- <ng-container matColumnDef="value">+ <ng-container matColumnDef="valueInBaseCurrency"><th*matHeaderCellDefclass="d-none d-lg-table-cell justify-content-end px-1"@@ -79,7 +79,7 @@<gf-value[isCurrency]="true"[locale]="locale"- [value]="isLoading ? undefined : element.value"+ [value]="isLoading ? undefined : element.valueInBaseCurrency"></gf-value></div></td>diff --git a/libs/ui/src/lib/holdings-table/holdings-table.component.ts b/libs/ui/src/lib/holdings-table/holdings-table.component.tsindex a4aee77102..e11cf69d46 100644--- a/libs/ui/src/lib/holdings-table/holdings-table.component.ts+++ b/libs/ui/src/lib/holdings-table/holdings-table.component.ts@@ -55,7 +55,7 @@ export class HoldingsTableComponent implements OnChanges, OnDestroy, OnInit {this.displayedColumns = ['icon', 'nameWithSymbol', 'dateOfFirstActivity'];if (this.hasPermissionToShowValues) {- this.displayedColumns.push('value');+ this.displayedColumns.push('valueInBaseCurrency');}this.displayedColumns.push('allocationInPercentage');