Browse Source
Bugfix/fix destructuring in activities filters (#3756)
* Provide default value during destructuring
* Update changelog
pull/3757/head
Thomas Kaul
5 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
8 additions and
2 deletions
-
CHANGELOG.md
-
apps/client/src/app/services/data.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 an issue in the activities filters that occured during destructuring |
|
|
|
|
|
|
|
## 2.107.0 - 2024-09-10 |
|
|
|
|
|
|
|
### Added |
|
|
|
|
|
@ -72,11 +72,11 @@ export class DataService { |
|
|
|
ACCOUNT: filtersByAccount, |
|
|
|
ASSET_CLASS: filtersByAssetClass, |
|
|
|
ASSET_SUB_CLASS: filtersByAssetSubClass, |
|
|
|
DATA_SOURCE: [filterByDataSource], |
|
|
|
DATA_SOURCE: [filterByDataSource] = [], |
|
|
|
HOLDING_TYPE: filtersByHoldingType, |
|
|
|
PRESET_ID: filtersByPresetId, |
|
|
|
SEARCH_QUERY: filtersBySearchQuery, |
|
|
|
SYMBOL: [filterBySymbol], |
|
|
|
SYMBOL: [filterBySymbol] = [], |
|
|
|
TAG: filtersByTag |
|
|
|
} = groupBy(filters, (filter) => { |
|
|
|
return filter.type; |
|
|
|