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;
|
|
|
|
},
|
2021-03-11 19:13:27 +05:30
|
|
|
[types.SET_JIRA_ISSUE_TYPES](state, jiraIssueTypes) {
|
|
|
|
state.jiraIssueTypes = jiraIssueTypes;
|
|
|
|
},
|
|
|
|
[types.SET_IS_LOADING_JIRA_ISSUE_TYPES](state, isLoadingJiraIssueTypes) {
|
|
|
|
state.isLoadingJiraIssueTypes = isLoadingJiraIssueTypes;
|
|
|
|
},
|
|
|
|
[types.SET_JIRA_ISSUE_TYPES_ERROR_MESSAGE](state, errorMessage) {
|
|
|
|
state.loadingJiraIssueTypesErrorMessage = errorMessage;
|
|
|
|
},
|
2020-07-28 23:09:34 +05:30
|
|
|
};
|