debian-mirror-gitlab/app/assets/javascripts/boards/stores/state.js
2021-03-11 19:13:27 +05:30

31 lines
693 B
JavaScript

import { inactiveId } from '~/boards/constants';
export default () => ({
boardType: null,
disabled: false,
isShowingLabels: true,
activeId: inactiveId,
sidebarType: '',
boardLists: {},
listsFlags: {},
issuesByListId: {},
isSettingAssignees: false,
pageInfoByListId: {},
issues: {},
filterParams: {},
boardConfig: {},
labels: [],
highlightedLists: [],
selectedBoardItems: [],
groupProjects: [],
groupProjectsFlags: {
isLoading: false,
isLoadingMore: false,
pageInfo: {},
},
selectedProject: {},
error: undefined,
addColumnFormVisible: false,
// TODO: remove after ce/ee split of board_content.vue
isShowingEpicsSwimlanes: false,
});