Welcome to mirror list, hosted at ThFree Co, Russian Federation.

state.js « store « edit « integrations « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1c0b274e4ef01ab4c1f0d8f0db71ad1b5996391d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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: [],
  };
};