Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Bugfix/fix cash label in holdings table (#6783)
Thomas Kaul2b988eeeecd1
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 53d484f9c0..e41fa319c3 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -14,6 +14,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0- Improved the styling of buttons and input fields across various components- Upgraded `prettier` from version `3.8.2` to `3.8.3`+### Fixed++- Fixed the cash label in the holdings table of the portfolio holdings page+- Fixed the cash label in the holdings table of the public page+## 3.0.0 - 2026-04-23### Addeddiff --git a/libs/ui/src/lib/holdings-table/holdings-table.component.html b/libs/ui/src/lib/holdings-table/holdings-table.component.htmlindex 3bb387ae4e..dfb39ec8a4 100644--- a/libs/ui/src/lib/holdings-table/holdings-table.component.html+++ b/libs/ui/src/lib/holdings-table/holdings-table.component.html@@ -26,7 +26,7 @@<div class="text-truncate">{{ element.name }}@if (element.name === element.symbol) {- <span>({{ element.assetSubClassLabel }})</span>+ <span>({{ element.assetProfile.assetSubClassLabel }})</span>}</div><div>diff --git a/libs/ui/src/lib/services/data.service.ts b/libs/ui/src/lib/services/data.service.tsindex 7f2dac0b1d..44cef1aedb 100644--- a/libs/ui/src/lib/services/data.service.ts+++ b/libs/ui/src/lib/services/data.service.ts@@ -610,13 +610,11 @@ export class DataService {map((response) => {if (response.holdings) {for (const symbol of Object.keys(response.holdings)) {- response.holdings[symbol].assetClassLabel = translate(- response.holdings[symbol].assetClass- );+ response.holdings[symbol].assetProfile.assetClassLabel =+ translate(response.holdings[symbol].assetProfile.assetClass);- response.holdings[symbol].assetSubClassLabel = translate(- response.holdings[symbol].assetSubClass- );+ response.holdings[symbol].assetProfile.assetSubClassLabel =+ translate(response.holdings[symbol].assetProfile.assetSubClass);response.holdings[symbol].dateOfFirstActivity = response.holdings[symbol@@ -699,6 +697,12 @@ export class DataService {map((response) => {if (response.holdings) {for (const symbol of Object.keys(response.holdings)) {+ response.holdings[symbol].assetProfile.assetClassLabel =+ translate(response.holdings[symbol].assetProfile.assetClass);++ response.holdings[symbol].assetProfile.assetSubClassLabel =+ translate(response.holdings[symbol].assetProfile.assetSubClass);+response.holdings[symbol].valueInBaseCurrency = isNumber(response.holdings[symbol].valueInBaseCurrency)