Browse Source
Feature/harmonize no data available label (#885)
* Harmonize label for UNKNOWN_KEY
* Update changelog
pull/886/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
7 additions and
1 deletions
-
CHANGELOG.md
-
libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts
|
@ -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; |
|
|