We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4308177 commit a4aad38Copy full SHA for a4aad38
src/shared/components/challenge-listing/Filters/ChallengeFilters.jsx
@@ -54,7 +54,7 @@ export default function ChallengeFilters({
54
const switchTrack = (track, on) => {
55
const act = on ? Filter.addTrack : Filter.removeTrack;
56
const filterObj = act(filterState, track);
57
- const newFilterObj = _.omit(filterObj, 'text');
+ const newFilterObj = _.pick(filterObj, 'tracks');
58
localStorage.setItem('trackStatus', JSON.stringify(newFilterObj));
59
setFilterState(filterObj);
60
};
0 commit comments