gitlab-org--gitlab-foss/app/assets/javascripts/boards/stores/state.js

32 lines
693 B
JavaScript
Raw Normal View History

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,
});