debian-mirror-gitlab/app/assets/javascripts/integrations/edit/store/state.js
2022-03-02 08:16:31 +05:30

12 lines
339 B
JavaScript

export default ({ defaultState = null, customState = {} } = {}) => {
const override = defaultState !== null ? defaultState.id !== customState.inheritFromId : false;
return {
override,
defaultState,
customState,
isLoadingJiraIssueTypes: false,
loadingJiraIssueTypesErrorMessage: '',
jiraIssueTypes: [],
};
};