Browse Source

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

* Improve accounts for no filters

* Update changelog
pull/888/head
Thomas Kaul 3 years ago
committed by GitHub
parent
commit
57314d62ee
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 2
      apps/api/src/app/portfolio/portfolio.controller.ts

1
CHANGELOG.md

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

2
apps/api/src/app/portfolio/portfolio.controller.ts

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

Loading…
Cancel
Save