perf(native-filters): avoid unnecessary reloading of charts (#14408)

* fix:fix get permission function

* refactor: filter default value

* refactor: update default value loading

* refactor: apply defaultValues

* lint: fix lint

* lint: fix lint

* test: fix test

* refactor: use extraFormData for reload charts

* test: fix tests

* test: fix tests

* test: fix tests
This commit is contained in:
simcha90
2021-05-03 14:56:41 +03:00
committed by GitHub
parent abbf4bf05a
commit bbb1f2d757
34 changed files with 260 additions and 243 deletions

View File

@@ -37,9 +37,4 @@ function mapDispatchToProps(dispatch) {
};
}
export default connect(
({ nativeFilters }) => ({
isFiltersInitialized: nativeFilters?.isInitialized,
}),
mapDispatchToProps,
)(Chart);
export default connect(null, mapDispatchToProps)(Chart);