Bugfix/fix countries in symbol profile overrides (#936)

* Fix countries

* Update changelog
This commit is contained in:
Thomas Kaul 2022-05-20 20:16:23 +02:00 committed by GitHub
parent 977c5a9544
commit f5819cc399
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Skipped data enhancer (_Trackinsight_) if data is inaccurate
### Fixed
- Fixed an issue with countries in the symbol profile overrides
## 1.149.0 - 16.05.2022
### Added

View File

@ -71,7 +71,7 @@ export class SymbolProfileService {
item.assetSubClass =
item.SymbolProfileOverrides.assetSubClass ?? item.assetSubClass;
item.countries =
(item.SymbolProfileOverrides.sectors as unknown as Country[]) ??
(item.SymbolProfileOverrides.countries as unknown as Country[]) ??
item.countries;
item.name = item.SymbolProfileOverrides?.name ?? item.name;
item.sectors =