debian-mirror-gitlab/app/assets/javascripts/milestones/stores/state.js
2021-01-29 00:20:46 +05:30

20 lines
355 B
JavaScript

export default () => ({
projectId: null,
groupId: null,
groupMilestonesAvailable: false,
searchQuery: '',
matches: {
projectMilestones: {
list: [],
totalCount: 0,
error: null,
},
groupMilestones: {
list: [],
totalCount: 0,
error: null,
},
},
selectedMilestones: [],
requestCount: 0,
});