Commit ac808b75 authored by Thomas Randolph's avatar Thomas Randolph

Move mutator actions to a special file just for mutators

parent 395abc98
import types from './mutation_types';
export default {
setActiveTab({ commit }, tab) {
commit(types.SET_ACTIVE_TAB, tab);
},
};
export * from './actions/mutators';
import types from '../mutation_types';
// Actions that exclusively mutate the state (essentially wrappers for `commit`)
export function setActiveTab({ commit }, tab) {
commit(types.SET_ACTIVE_TAB, tab);
}
import actions from '../actions';
import * as actions from '../actions';
import getters from '../getters';
import mutations from '../mutations';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment