fix(filters): list show status all (#904)

fix(filters): lists show status all
This commit is contained in:
ze0s 2023-05-03 00:10:43 +02:00 committed by GitHub
parent 1ca2677f9f
commit d480532c16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,7 +71,7 @@ const FilterListReducer = (state: FilterListState, action: Actions): FilterListS
case ActionType.STATUS_CHANGE:
return { ...state, status: action.payload };
case ActionType.STATUS_RESET:
return { ...state };
return { ...state, status: "" };
default:
throw new Error(`Unhandled action type: ${action}`);
}