Feature/harmonize no data available label (#885)

* Harmonize label for UNKNOWN_KEY

* Update changelog
This commit is contained in:
Thomas Kaul 2022-05-07 14:11:42 +02:00 committed by GitHub
parent 21173bed21
commit 5622c4cf7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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;