Skip to content

Conversation

aravindparappil46
Copy link
Contributor

"Clear Filters" button was not unchecking selected filters because of a reference between settings and defaultSettings. i.e., whenever filters changed, the filter reasons in the defaultFilters object also mutated, which is not desirable.

Using the spread operator to get selected filters fixes this issue.

Video of bug:

Screen.Recording.2025-01-22.at.6.40.59.PM.mov

Clear Filters button was not unchecking selected filters because of a reference
between settings and defaultSettings. i.e., whenever filters changed, the filter reasons in the defaultFilters
object also changed, which is not desirable.

Using the spread operator to get selected filters fixes this issue
@setchy setchy added the bug Something isn't working label Jan 23, 2025
@setchy setchy added this to the Release 6.0.0 milestone Jan 23, 2025
@setchy
Copy link
Member

setchy commented Jan 23, 2025

Thanks @aravindparappil46, appreciate the fix 🛠️

@setchy setchy merged commit f38d3a8 into gitify-app:main Jan 23, 2025
8 of 9 checks passed
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