Bugfix/fix max items attribute (#698)
* Fix maxItems * Update changelog
This commit is contained in:
parent
e0bb2b1c78
commit
20356f6931
@ -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)
|
- 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
|
## 1.115.0 - 13.02.2022
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -150,11 +150,11 @@ export class PortfolioProportionChartComponent
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (!unknownItem) {
|
if (!unknownItem) {
|
||||||
const index = chartDataSorted.push([
|
chartDataSorted.push([
|
||||||
UNKNOWN_KEY,
|
UNKNOWN_KEY,
|
||||||
{ name: UNKNOWN_KEY, subCategory: {}, value: 0 }
|
{ name: UNKNOWN_KEY, subCategory: {}, value: 0 }
|
||||||
]);
|
]);
|
||||||
unknownItem = chartDataSorted[index];
|
unknownItem = chartDataSorted[chartDataSorted.length - 1];
|
||||||
}
|
}
|
||||||
|
|
||||||
rest.forEach((restItem) => {
|
rest.forEach((restItem) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user