Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): DataView inlineFilters should allow ES6 arrow functions #1304

Merged
merged 1 commit into from Jan 2, 2024

Conversation

ghiscoding
Copy link
Owner

  • the sample code below was not working prior to this PR
dataView = new SlickDataView({ inlineFilters: true });
dataView.setFilter((item, args) => item["percentComplete"] > args.percentCompleteThreshold);

- the sample code below was not working prior to this PR
```ts
dataView = new SlickDataView({ inlineFilters: true });
dataView.setFilter((item, args) => item["percentComplete"] > args.percentCompleteThreshold);
```
Copy link

codecov bot commented Jan 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (59ebaa6) 94.7% compared to head (2cc442b) 94.7%.

Additional details and impacted files
@@           Coverage Diff            @@
##           master   #1304     +/-   ##
========================================
+ Coverage    94.7%   94.7%   +0.1%     
========================================
  Files         198     198             
  Lines       21317   21332     +15     
  Branches     7085    7092      +7     
========================================
+ Hits        20185   20200     +15     
  Misses       1132    1132             

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ghiscoding ghiscoding merged commit 25b9a10 into master Jan 2, 2024
5 checks passed
@ghiscoding ghiscoding deleted the bugfix/dataview-es6-inline-filters branch January 2, 2024 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant