Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Commit 61f7036

Browse files
author
Shammamah Hossain
committed
Update naming of derived_filter_query_structure in derivedPropsHelper. (#670)
* Update naming of prop. * Update CHANGELOG.
1 parent 1c6b5c7 commit 61f7036

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## Unreleased
6+
7+
### Fixed
8+
- [#670](https://github.com/plotly/dash-table/pull/670) Fix a bug where `derived_filter_query_structure` was not getting updated properly
9+
510
## [4.5.1] - 2019-11-14
611
### Fixed
712
- [#637](https://github.com/plotly/dash-table/pull/637) Fix multiple issues

src/dash-table/components/Table/derivedPropsHelper.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default () => {
6161
let newProps: Partial<SanitizedAndDerivedProps> = {};
6262

6363
if (!derivedStructureCache.cached) {
64-
newProps.derived_filter_structure = derivedStructureCache.result;
64+
newProps.derived_filter_query_structure = derivedStructureCache.result;
6565
}
6666

6767
if (!virtualCached) {

src/dash-table/components/Table/props.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ interface IDefaultProps {
392392
}
393393

394394
interface IDerivedProps {
395-
derived_filter_structure: object | null;
395+
derived_filter_query_structure: object | null;
396396
derived_viewport_data: Data;
397397
derived_viewport_indices: Indices;
398398
derived_viewport_row_ids: RowId[];

0 commit comments

Comments
 (0)