Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 11x 12x 12x 2x 2x 2x | import * as types from './mutation_types'; import statuses from './status'; export default { [types.FETCH_USER_LISTS](state) { state.status = statuses.LOADING; }, [types.RECEIVE_USER_LISTS_SUCCESS](state, lists) { state.userLists = lists; state.status = statuses.IDLE; }, [types.RECEIVE_USER_LISTS_ERROR](state, error) { state.error = error; state.status = statuses.ERROR; }, [types.SET_FILTER](state, filter) { state.filter = filter; }, }; |