debian-mirror-gitlab/app/assets/javascripts/projects/commits/store/mutations.js
2020-04-22 19:07:51 +05:30

10 lines
222 B
JavaScript

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;
},
};