mirror of
https://github.com/plankanban/planka.git
synced 2025-12-20 17:25:39 +03:00
fix: Fix logging out with invalid token
This commit is contained in:
@@ -24,9 +24,11 @@ export default (state = initialState, { type, payload }) => {
|
||||
return {
|
||||
...state,
|
||||
isInitializing: false,
|
||||
...(payload.config && {
|
||||
config: payload.config,
|
||||
}),
|
||||
};
|
||||
case ActionTypes.CORE_INITIALIZE__CONFIG_FETCH:
|
||||
return {
|
||||
...state,
|
||||
config: payload.config,
|
||||
};
|
||||
default:
|
||||
return state;
|
||||
|
||||
Reference in New Issue
Block a user