Browse Source
Bugfix/fix filtered value for emergency fund (#1619)
* Fix filtered value
* Update changelog
pull/1620/head^2
Thomas Kaul
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
8 additions and
0 deletions
-
CHANGELOG.md
-
apps/api/src/app/portfolio/portfolio.service.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/), |
|
|
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
|
|
|
|
|
|
|
## Unreleased |
|
|
|
|
|
|
|
### Fixed |
|
|
|
|
|
|
|
- Fixed the value of the active (emergency fund) filter in percentage on the allocations page |
|
|
|
|
|
|
|
## 1.228.1 - 2023-01-18 |
|
|
|
|
|
|
|
### Added |
|
|
|
|
|
@ -614,6 +614,8 @@ export class PortfolioService { |
|
|
|
) |
|
|
|
.toNumber(); |
|
|
|
|
|
|
|
filteredValueInBaseCurrency = emergencyFund; |
|
|
|
|
|
|
|
accounts[UNKNOWN_KEY] = { |
|
|
|
balance: 0, |
|
|
|
currency: userCurrency, |
|
|
|