Browse Source
Merge branch 'main' into feature/upgrade-prisma-to-version-4.13.0
pull/1920/head
Thomas Kaul
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
16 additions and
1 deletions
-
CHANGELOG.md
-
apps/api/src/app/portfolio/portfolio.service.ts
-
libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts
-
package.json
|
|
@ -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 |
|
|
|
|
|
@ -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 } } |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
@ -394,6 +394,9 @@ export class PortfolioProportionChartComponent |
|
|
|
})} ${this.baseCurrency} (${percentage.toFixed(2)}%)` |
|
|
|
]; |
|
|
|
} |
|
|
|
}, |
|
|
|
title: () => { |
|
|
|
return ''; |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
@ -1,6 +1,6 @@ |
|
|
|
{ |
|
|
|
"name": "ghostfolio", |
|
|
|
"version": "1.264.0", |
|
|
|
"version": "1.265.0", |
|
|
|
"homepage": "https://ghostfol.io", |
|
|
|
"license": "AGPL-3.0", |
|
|
|
"scripts": { |
|
|
|