gitlab-org--gitlab-foss/app/assets/javascripts/badges/store/state.js

14 lines
258 B
JavaScript
Raw Normal View History

2018-04-08 06:20:05 -04:00
export default () => ({
apiEndpointUrl: null,
badgeInAddForm: null,
badgeInEditForm: null,
badgeInModal: null,
badges: [],
docsUrl: null,
renderedBadge: null,
isEditing: false,
isLoading: false,
isRendering: false,
isSaving: false,
});