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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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