2020-07-28 23:09:34 +05:30
|
|
|
import * as types from './mutation_types';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
[types.SET_OVERRIDE](state, override) {
|
|
|
|
state.override = override;
|
|
|
|
},
|
2020-11-24 15:15:51 +05:30
|
|
|
[types.SET_IS_SAVING](state, isSaving) {
|
|
|
|
state.isSaving = isSaving;
|
|
|
|
},
|
|
|
|
[types.SET_IS_TESTING](state, isTesting) {
|
|
|
|
state.isTesting = isTesting;
|
|
|
|
},
|
2021-01-29 00:20:46 +05:30
|
|
|
[types.SET_IS_RESETTING](state, isResetting) {
|
|
|
|
state.isResetting = isResetting;
|
|
|
|
},
|
2021-02-22 17:27:13 +05:30
|
|
|
[types.REQUEST_RESET_INTEGRATION](state) {
|
|
|
|
state.isResetting = true;
|
|
|
|
},
|
|
|
|
[types.RECEIVE_RESET_INTEGRATION_ERROR](state) {
|
|
|
|
state.isResetting = false;
|
|
|
|
},
|
2020-07-28 23:09:34 +05:30
|
|
|
};
|