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
parent
commit
3c40b558aa
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      CHANGELOG.md
  2. 2
      apps/api/src/app/portfolio/portfolio.service.ts
  3. 3
      libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts
  4. 2
      package.json

10
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

2
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 } }
});
}

3
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 '';
}
}
};

2
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": {

Loading…
Cancel
Save