debian-mirror-gitlab/app/assets/javascripts/mr_notes/stores/mutations.js
2018-11-08 19:23:39 +05:30

7 lines
149 B
JavaScript

import types from './mutation_types';
export default {
[types.SET_ACTIVE_TAB](state, tab) {
Object.assign(state, { activeTab: tab });
},
};