debian-mirror-gitlab/app/assets/javascripts/boards/stores/state.js

28 lines
598 B
JavaScript
Raw Normal View History

2020-10-24 23:57:45 +05:30
import { inactiveId } from '~/boards/constants';
2020-05-24 23:13:21 +05:30
2019-09-04 21:01:54 +05:30
export default () => ({
2020-10-24 23:57:45 +05:30
boardType: null,
2020-11-24 15:15:51 +05:30
disabled: false,
2019-12-26 22:10:19 +05:30
isShowingLabels: true,
2020-10-24 23:57:45 +05:30
activeId: inactiveId,
2020-11-24 15:15:51 +05:30
sidebarType: '',
2021-01-03 14:25:43 +05:30
boardLists: {},
listsFlags: {},
2020-10-24 23:57:45 +05:30
issuesByListId: {},
2021-02-22 17:27:13 +05:30
isSettingAssignees: false,
2021-01-03 14:25:43 +05:30
pageInfoByListId: {},
2020-11-24 15:15:51 +05:30
issues: {},
filterParams: {},
2021-02-22 17:27:13 +05:30
boardConfig: {},
2021-03-08 18:12:59 +05:30
groupProjects: [],
groupProjectsFlags: {
isLoading: false,
isLoadingMore: false,
pageInfo: {},
},
selectedProject: {},
2020-11-24 15:15:51 +05:30
error: undefined,
// TODO: remove after ce/ee split of board_content.vue
isShowingEpicsSwimlanes: false,
2019-09-04 21:01:54 +05:30
});