Skip to content

[EuiFilterButton] Fix content when numFilters is not passed#5012

Merged
andreadelrio merged 8 commits intoelastic:masterfrom
andreadelrio:filterButton-numFilters
Aug 12, 2021
Merged

[EuiFilterButton] Fix content when numFilters is not passed#5012
andreadelrio merged 8 commits intoelastic:masterfrom
andreadelrio:filterButton-numFilters

Conversation

@andreadelrio
Copy link
Copy Markdown
Contributor

Summary

EuiFilterButton was printing the number of active filters even when the optional prop numFilters wasn't received.

Group 6

Checklist

  • Check against all themes for compatibility in both light and dark modes
  • Checked in mobile
  • Checked in Chrome, Safari, Edge, and Firefox
    - [ ] Props have proper autodocs and playground toggles
    - [ ] Added documentation
    - [ ] Checked Code Sandbox works for the any docs examples
  • Added or updated jest tests
    - [ ] Checked for breaking changes and labeled appropriately
    - [ ] Checked for accessibility including keyboard-only and screenreader modes
  • A changelog entry exists and is marked appropriately

@kibanamachine
Copy link
Copy Markdown

Preview documentation changes for this PR: https://eui.elastic.co/pr_5012/

Copy link
Copy Markdown
Contributor

@elizabetdev elizabetdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @andreadelrio. 🙌🏽

I tested the PR locally in Chrome, Safari, Edge, Firefox and LGTM. 🎉

@kibanamachine
Copy link
Copy Markdown

Preview documentation changes for this PR: https://eui.elastic.co/pr_5012/

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.

3 participants