Skip to content
Snippets Groups Projects
Unverified Commit 2cae5f5b authored by Claire's avatar Claire Committed by GitHub
Browse files

Fix “Filter this post” potentially listing deleted filters (#19051)

parent 63adef20
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ export default function filters(state = ImmutableMap(), action) {
case FILTERS_CREATE_SUCCESS:
return normalizeFilter(state, action.filter);
case FILTERS_FETCH_SUCCESS:
//TODO: handle deleting obsolete filters
return normalizeFilters(ImmutableMap(), action.filters);
case FILTERS_IMPORT:
return normalizeFilters(state, action.filters);
default:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment