debian-mirror-gitlab/app/assets/javascripts/monitoring/stores/state.js

18 lines
403 B
JavaScript
Raw Normal View History

2019-09-04 21:01:54 +05:30
import invalidUrl from '~/lib/utils/invalid_url';
export default () => ({
hasMetrics: false,
showPanels: true,
metricsEndpoint: null,
environmentsEndpoint: null,
deploymentsEndpoint: null,
dashboardEndpoint: invalidUrl,
useDashboardEndpoint: false,
emptyState: 'gettingStarted',
showEmptyState: true,
groups: [],
deploymentData: [],
environments: [],
metricsWithData: [],
});