15 lines
406 B
JavaScript
15 lines
406 B
JavaScript
export default ({ defaultState = null, customState = {} } = {}) => {
|
|
const override = defaultState !== null ? defaultState.id !== customState.inheritFromId : false;
|
|
|
|
return {
|
|
override,
|
|
defaultState,
|
|
customState,
|
|
isSaving: false,
|
|
isTesting: false,
|
|
isResetting: false,
|
|
isLoadingJiraIssueTypes: false,
|
|
loadingJiraIssueTypesErrorMessage: '',
|
|
jiraIssueTypes: [],
|
|
};
|
|
};
|