Bugfix/fix max items attribute (#698)

* Fix maxItems

* Update changelog
pull/700/head
Thomas Kaul 2 years ago committed by GitHub
parent e0bb2b1c78
commit 20356f6931
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Improved the mobile layout of the position detail dialog (countries and sectors charts)
### Fixed
- Fixed the `maxItems` attribute of the portfolio proportion chart component
## 1.115.0 - 13.02.2022
### Added

@ -150,11 +150,11 @@ export class PortfolioProportionChartComponent
});
if (!unknownItem) {
const index = chartDataSorted.push([
chartDataSorted.push([
UNKNOWN_KEY,
{ name: UNKNOWN_KEY, subCategory: {}, value: 0 }
]);
unknownItem = chartDataSorted[index];
unknownItem = chartDataSorted[chartDataSorted.length - 1];
}
rest.forEach((restItem) => {

Loading…
Cancel
Save