debian-mirror-gitlab/app/assets/javascripts/milestones/stores/state.js
2021-01-30 21:13:34 +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,
});