13 lines
341 B
JavaScript
13 lines
341 B
JavaScript
import types from './mutation_types';
|
|
|
|
export default {
|
|
[types.SET_ACTIVE_TAB](state, tab) {
|
|
Object.assign(state, { activeTab: tab });
|
|
},
|
|
[types.SET_ENDPOINTS](state, endpoints) {
|
|
Object.assign(state, { endpoints });
|
|
},
|
|
[types.SET_MR_METADATA](state, metadata) {
|
|
Object.assign(state, { mrMetadata: metadata });
|
|
},
|
|
};
|