[web] use a dummy action to init list

This commit is contained in:
Jason 2016-06-22 11:16:08 +08:00
parent 1fc11974a7
commit 42f433e395

View File

@ -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) {