debian-mirror-gitlab/app/assets/javascripts/integrations/edit/store/state.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
339 B
JavaScript
Raw Normal View History

2020-11-24 15:15:51 +05:30
export default ({ defaultState = null, customState = {} } = {}) => {
const override = defaultState !== null ? defaultState.id !== customState.inheritFromId : false;
2020-07-28 23:09:34 +05:30
return {
override,
2020-11-24 15:15:51 +05:30
defaultState,
2020-07-28 23:09:34 +05:30
customState,
2021-03-11 19:13:27 +05:30
isLoadingJiraIssueTypes: false,
loadingJiraIssueTypesErrorMessage: '',
jiraIssueTypes: [],
2020-07-28 23:09:34 +05:30
};
};