Feature/improve allocations page with no filter (#887)

* Improve accounts for no filters

* Update changelog
This commit is contained in:
Thomas Kaul 2022-05-07 22:33:57 +02:00 committed by GitHub
parent 40380346e6
commit 57314d62ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Migrated the asset profile data gathering to the queue design pattern
- Improved the allocations page with no filtering
- Harmonized the _No data available_ label in the portfolio proportion chart component
## 1.145.0 - 07.05.2022

View File

@ -183,7 +183,7 @@ export class PortfolioController {
return {
hasError,
accounts: filters ? {} : accounts,
accounts: filters.length === 0 ? accounts : {},
holdings: isBasicUser ? {} : holdings
};
}