blob: 6af6adb4e188c053967d1b011cd2f2a60c4c191c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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 });
},
};
|