Bugfix/fix destructuring in activities filters (#3756)
* Provide default value during destructuring * Update changelog
This commit is contained in:
parent
c4cbdfc643
commit
0ef2b82852
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user