Bugfix/fix world map chart component (#1871)
* Clone countries before manipulation * Update changelog
This commit is contained in:
parent
7378900050
commit
80a3668aa9
@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
- Fixed an issue in the global heat map component caused by manipulating an input property
|
||||||
- Fixed an issue with the currency inconsistency in the _EOD Historical Data_ service (convert from `GBX` to `GBp`)
|
- Fixed an issue with the currency inconsistency in the _EOD Historical Data_ service (convert from `GBX` to `GBp`)
|
||||||
|
|
||||||
## 1.256.0 - 2023-04-17
|
## 1.256.0 - 2023-04-17
|
||||||
|
@ -30,6 +30,9 @@ export class WorldMapChartComponent implements OnChanges, OnDestroy, OnInit {
|
|||||||
public ngOnInit() {}
|
public ngOnInit() {}
|
||||||
|
|
||||||
public ngOnChanges() {
|
public ngOnChanges() {
|
||||||
|
// Create a copy before manipulating countries object
|
||||||
|
this.countries = structuredClone(this.countries);
|
||||||
|
|
||||||
if (this.countries) {
|
if (this.countries) {
|
||||||
this.isLoading = true;
|
this.isLoading = true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user