Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
"Clear All" Button added to clear applied Filters (reactplay#562)
* Cancel btn enabled * Filter cancel btn problem fixed * onCancel and onClose separate functions for closing filter modal * Changed cancel to close button * Clear All filter btn added * :active is enabled when clear all btn is clicked * If no filters applied, click Clear All will not re-render the same page * storing the cond of empty filter in a variable * removing code that caused the error * Problem Persists * checking if clear filters is causing the error * clear filter function restored * Clear All Filter button added * Button changed to link for 'Clear All' * resetFilter passed through filterPlayModal component * filterQuery is not updated | condition for empty filters removed * filterQuery is not updated | condition for empty filters removed * commented before clear all link * special scenario for clear filter not applied but clicked * scenario updated * scenario updated * renamed ifFilterApplied to isFilterApplied * onClose logic moved to function Co-authored-by: mayukh551 <[email protected]> Co-authored-by: Sachin Chaurasiya <[email protected]> Co-authored-by: Tapas Adhikary <[email protected]>
- Loading branch information