Feature/harmonize no data available label (#885)

* Harmonize label for UNKNOWN_KEY

* Update changelog
pull/886/head
Thomas Kaul 2 years ago committed by GitHub
parent 21173bed21
commit 5622c4cf7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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/),
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
### Added

@ -349,7 +349,7 @@ export class PortfolioProportionChartComponent
if (symbol === this.OTHER_KEY) {
symbol = 'Other';
} else if (symbol === UNKNOWN_KEY) {
symbol = 'Unknown';
symbol = 'No data available';
}
const name = this.positions[<string>symbol]?.name;

Loading…
Cancel
Save