diff options
author | Jason <jason.daurus@gmail.com> | 2016-06-22 11:29:21 +0800 |
---|---|---|
committer | Jason <jason.daurus@gmail.com> | 2016-06-22 11:29:21 +0800 |
commit | 57af1d00ddd16bd36609a8c6dbf61411f5cd504c (patch) | |
tree | 78e7d683d5251b2f26473736fadcea0d92ef518d /web | |
parent | 9a7415a58d299edb4c7219a2bc01d139f050d754 (diff) | |
download | mitmproxy-57af1d00ddd16bd36609a8c6dbf61411f5cd504c.tar.gz mitmproxy-57af1d00ddd16bd36609a8c6dbf61411f5cd504c.tar.bz2 mitmproxy-57af1d00ddd16bd36609a8c6dbf61411f5cd504c.zip |
[web] set connected to false when DISCONNECTED
Diffstat (limited to 'web')
-rw-r--r-- | web/src/js/ducks/websocket.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/src/js/ducks/websocket.js b/web/src/js/ducks/websocket.js index 2d4e2b39..f38124c9 100644 --- a/web/src/js/ducks/websocket.js +++ b/web/src/js/ducks/websocket.js @@ -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 |