diff --git a/CHANGELOG.md b/CHANGELOG.md index ad483216d..0098ff01b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Upgraded `prisma` from version `4.12.0` to `4.13.0` +## 1.265.0 - 2023-05-01 + +### Changed + +- Improved the tooltip of the portfolio proportion chart component + +### Fixed + +- Fixed the missing platform name in the allocations by platform chart on the allocations page + ## 1.264.0 - 2023-05-01 ### Added diff --git a/apps/api/src/app/portfolio/portfolio.service.ts b/apps/api/src/app/portfolio/portfolio.service.ts index fd77baf77..830a4bbe9 100644 --- a/apps/api/src/app/portfolio/portfolio.service.ts +++ b/apps/api/src/app/portfolio/portfolio.service.ts @@ -1727,6 +1727,7 @@ export class PortfolioService { currentAccounts = await this.accountService.getAccounts(userId); } else if (filters.length === 1 && filters[0].type === 'ACCOUNT') { currentAccounts = await this.accountService.accounts({ + include: { Platform: true }, where: { id: filters[0].id } }); } else { @@ -1737,6 +1738,7 @@ export class PortfolioService { ); currentAccounts = await this.accountService.accounts({ + include: { Platform: true }, where: { id: { in: accountIds } } }); } diff --git a/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts b/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts index 3ff0dd417..36991d763 100644 --- a/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts +++ b/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts @@ -394,6 +394,9 @@ export class PortfolioProportionChartComponent })} ${this.baseCurrency} (${percentage.toFixed(2)}%)` ]; } + }, + title: () => { + return ''; } } }; diff --git a/package.json b/package.json index dd06c5a61..9727fa26d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ghostfolio", - "version": "1.264.0", + "version": "1.265.0", "homepage": "https://ghostfol.io", "license": "AGPL-3.0", "scripts": {