Revize 0d90d67b
Přidáno uživatelem Václav Honzík před asi 2 roky(ů)
frontend/src/features/Auth/userSlice.ts | ||
---|---|---|
52 | 52 |
return ({ ...state, ...action.payload }) |
53 | 53 |
}) |
54 | 54 |
builder.addCase(logIn.rejected, (state, action) => { |
55 |
if (action.payload && typeof action.payload === 'string') {
|
|
56 |
return ({ ...state, lastErr: action.payload })
|
|
55 |
if (action.payload && typeof action.error.message === 'string') {
|
|
56 |
return ({ ...state, lastErr: action.error.message })
|
|
57 | 57 |
} |
58 | 58 |
}) |
59 | 59 |
}, |
Také k dispozici: Unified diff
map dialogs + catalog filter fix
re #9547 #9545