Feature/harmonize no data available label (#885)
* Harmonize label for UNKNOWN_KEY * Update changelog
This commit is contained in:
parent
21173bed21
commit
5622c4cf7e
@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## Unreleased
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Harmonized the _No data available_ label in the portfolio proportion chart component
|
||||||
|
|
||||||
## 1.145.0 - 07.05.2022
|
## 1.145.0 - 07.05.2022
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -349,7 +349,7 @@ export class PortfolioProportionChartComponent
|
|||||||
if (symbol === this.OTHER_KEY) {
|
if (symbol === this.OTHER_KEY) {
|
||||||
symbol = 'Other';
|
symbol = 'Other';
|
||||||
} else if (symbol === UNKNOWN_KEY) {
|
} else if (symbol === UNKNOWN_KEY) {
|
||||||
symbol = 'Unknown';
|
symbol = 'No data available';
|
||||||
}
|
}
|
||||||
|
|
||||||
const name = this.positions[<string>symbol]?.name;
|
const name = this.positions[<string>symbol]?.name;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user