mirror of
https://github.com/plankanban/planka.git
synced 2025-12-28 09:15:02 +03:00
fix: Fix logging out with invalid token
This commit is contained in:
@@ -14,6 +14,8 @@ export function* initializeCore() {
|
||||
let config;
|
||||
if (!currentConfig) {
|
||||
({ item: config } = yield call(api.getConfig)); // TODO: handle error
|
||||
|
||||
yield put(actions.initializeCore.fetchConfig(config));
|
||||
}
|
||||
|
||||
const {
|
||||
@@ -40,7 +42,6 @@ export function* initializeCore() {
|
||||
|
||||
yield put(
|
||||
actions.initializeCore(
|
||||
config,
|
||||
user,
|
||||
board,
|
||||
users,
|
||||
|
||||
Reference in New Issue
Block a user