Browse Source
Bugfix/fix max items attribute (#698)
* Fix maxItems
* Update changelog
pull/700/head
Thomas Kaul
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
6 additions and
2 deletions
-
CHANGELOG.md
-
libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts
|
|
@ -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) => { |
|
|
|