aboutsummaryrefslogtreecommitdiffstats
path: root/web/src
diff options
context:
space:
mode:
authorJason <jason.daurus@gmail.com>2016-06-22 11:16:08 +0800
committerJason <jason.daurus@gmail.com>2016-06-22 11:16:08 +0800
commit42f433e395beafbf8eab6d04a84a52580c5e8cda (patch)
treec281f2462e9d6ca3be17f04f17c09377e9831b1e /web/src
parent1fc11974a7d895ef8ad76778fbc4a33f60fa27a4 (diff)
downloadmitmproxy-42f433e395beafbf8eab6d04a84a52580c5e8cda.tar.gz
mitmproxy-42f433e395beafbf8eab6d04a84a52580c5e8cda.tar.bz2
mitmproxy-42f433e395beafbf8eab6d04a84a52580c5e8cda.zip
[web] use a dummy action to init list
Diffstat (limited to 'web/src')
-rw-r--r--web/src/js/ducks/eventLog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/src/js/ducks/eventLog.js b/web/src/js/ducks/eventLog.js
index 1c4cbfe4..31dc82ea 100644
--- a/web/src/js/ducks/eventLog.js
+++ b/web/src/js/ducks/eventLog.js
@@ -12,7 +12,7 @@ export const ERROR = 'EVENTLOG_ERROR'
const defaultState = {
visible: false,
filters: { debug: false, info: true, web: true },
- list: reduceList()
+ list: reduceList(undefined, { type: Symbol('EVENTLOG_INIT_LIST') })
}
export default function reduce(state = defaultState, action) {