debian-mirror-gitlab/app/assets/javascripts/mr_notes/stores/mutations.js

8 lines
149 B
JavaScript
Raw Normal View History

2018-11-08 19:23:39 +05:30
import types from './mutation_types';
export default {
[types.SET_ACTIVE_TAB](state, tab) {
Object.assign(state, { activeTab: tab });
},
};