mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 02:10:59 +00:00
[web] set connected to false when DISCONNECTED
This commit is contained in:
parent
9a7415a58d
commit
57af1d00dd
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -29,7 +29,7 @@ export default function reduce(state = defaultState, action) {
|
||||
return { ...state, connected: false }
|
||||
|
||||
case DISCONNECTED:
|
||||
return { ...state, [SYM_SOCKET]: null }
|
||||
return { ...state, [SYM_SOCKET]: null, connected: false }
|
||||
|
||||
default:
|
||||
return state
|
||||
|
Loading…
Reference in New Issue
Block a user