debian-mirror-gitlab/app/assets/javascripts/projects/commits/store/mutations.js

11 lines
222 B
JavaScript
Raw Normal View History

2020-04-22 19:07:51 +05:30
import * as types from './mutation_types';
export default {
[types.SET_INITIAL_DATA](state, data) {
Object.assign(state, data);
},
[types.COMMITS_AUTHORS](state, data) {
state.commitsAuthors = data;
},
};