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/),
|
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).
|
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
|
## 2.107.0 - 2024-09-10
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -72,11 +72,11 @@ export class DataService {
|
|||||||
ACCOUNT: filtersByAccount,
|
ACCOUNT: filtersByAccount,
|
||||||
ASSET_CLASS: filtersByAssetClass,
|
ASSET_CLASS: filtersByAssetClass,
|
||||||
ASSET_SUB_CLASS: filtersByAssetSubClass,
|
ASSET_SUB_CLASS: filtersByAssetSubClass,
|
||||||
DATA_SOURCE: [filterByDataSource],
|
DATA_SOURCE: [filterByDataSource] = [],
|
||||||
HOLDING_TYPE: filtersByHoldingType,
|
HOLDING_TYPE: filtersByHoldingType,
|
||||||
PRESET_ID: filtersByPresetId,
|
PRESET_ID: filtersByPresetId,
|
||||||
SEARCH_QUERY: filtersBySearchQuery,
|
SEARCH_QUERY: filtersBySearchQuery,
|
||||||
SYMBOL: [filterBySymbol],
|
SYMBOL: [filterBySymbol] = [],
|
||||||
TAG: filtersByTag
|
TAG: filtersByTag
|
||||||
} = groupBy(filters, (filter) => {
|
} = groupBy(filters, (filter) => {
|
||||||
return filter.type;
|
return filter.type;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user