[ ] Refactor (change which changes the codebase without affecting its external behavior)
[x] Non-breaking change (fix or feature that would causes existing functionality to work as expected)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Purpose
Previously, when selecting filters, dismissing the filter box would cause the checked boxes to reset to their default, unchecked state (the filters themselves were still active, of course). This was remedied with the addition of a checked attribute to the Input tags for the checkboxes, calling containsFilter to determine whether a filter is active or not.
Approach
Just a little guesswork.
Checklist
[x] My branch follows the branch naming scheme of UCLA Radio, and can merge into tanzeela/blog-project without error.
[x] My code follows the code style of this project, and I have linted it to confirm this.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] My change requires a change to the documentation and I have updated the documentation accordingly.
Types of changes
Purpose
Previously, when selecting filters, dismissing the filter box would cause the checked boxes to reset to their default, unchecked state (the filters themselves were still active, of course). This was remedied with the addition of a
checked
attribute to theInput
tags for the checkboxes, callingcontainsFilter
to determine whether a filter is active or not.Approach
Just a little guesswork.
Checklist
tanzeela/blog-project
without error.Link to Issue
315