debian-mirror-gitlab/app/assets/javascripts/monitoring/stores/state.js
2020-01-01 13:55:28 +05:30

21 lines
431 B
JavaScript

import invalidUrl from '~/lib/utils/invalid_url';
export default () => ({
metricsEndpoint: null,
environmentsEndpoint: null,
deploymentsEndpoint: null,
dashboardEndpoint: invalidUrl,
emptyState: 'gettingStarted',
showEmptyState: true,
showErrorBanner: true,
dashboard: {
panel_groups: [],
},
deploymentData: [],
environments: [],
allDashboards: [],
currentDashboard: null,
projectPath: null,
});