Skip to content

fix(DataCollection): close filter chip #1665

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

Merged
merged 1 commit into from
Apr 28, 2025

Conversation

siguenzaraul
Copy link
Contributor

Description

Fixed an issue where closing a filter chip didn't refresh the data collection. The removeFilterValue function was passing the old filter state to onChange instead of the updated state. Now properly creates and passes a new filter object that excludes the removed filter, ensuring data refreshes correctly when removing filters.

Screenshots (if applicable)

before:

Grabacion.de.pantalla.2025-04-23.a.las.17.13.11.mov

after:

Grabacion.de.pantalla.2025-04-23.a.las.17.13.40.mov

Type of Change

  • New experimental component
  • Promote component from experimental to stable
  • Maintenance / Bug Fix / Other

@siguenzaraul siguenzaraul self-assigned this Apr 23, 2025
Copy link
Contributor

github-actions bot commented Apr 23, 2025

🔍 Visual review for your branch is published 🔍

Here are the links to:

@siguenzaraul siguenzaraul added the bug Something isn't working label Apr 23, 2025
@siguenzaraul siguenzaraul force-pushed the data-collection-filter-chip-close branch from 034cebb to cd563b7 Compare April 27, 2025 22:41
@siguenzaraul siguenzaraul merged commit cfda323 into main Apr 28, 2025
14 checks passed
@siguenzaraul siguenzaraul deleted the data-collection-filter-chip-close branch April 28, 2025 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants