Bugfix/fix click of unknown accounts (#1629)
* Check for unknown key * Update changelog
This commit is contained in:
parent
9cae5a3e79
commit
efba7429c1
@ -15,6 +15,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
- Upgraded `Node.js` from version `16` to `18` (`Dockerfile`)
|
- Upgraded `Node.js` from version `16` to `18` (`Dockerfile`)
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Fixed the click of unknown accounts in the portfolio proportion chart component
|
||||||
|
|
||||||
## 1.229.0 - 2023-01-21
|
## 1.229.0 - 2023-01-21
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -357,7 +357,7 @@ export class AllocationsPageComponent implements OnDestroy, OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public onAccountChartClicked({ symbol }: UniqueAsset) {
|
public onAccountChartClicked({ symbol }: UniqueAsset) {
|
||||||
if (symbol) {
|
if (symbol && symbol !== UNKNOWN_KEY) {
|
||||||
this.router.navigate([], {
|
this.router.navigate([], {
|
||||||
queryParams: { accountId: symbol, accountDetailDialog: true }
|
queryParams: { accountId: symbol, accountDetailDialog: true }
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user