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

22 lines
431 B
JavaScript
Raw Normal View History

2019-09-04 21:01:54 +05:30
import invalidUrl from '~/lib/utils/invalid_url';
export default () => ({
metricsEndpoint: null,
environmentsEndpoint: null,
deploymentsEndpoint: null,
dashboardEndpoint: invalidUrl,
emptyState: 'gettingStarted',
showEmptyState: true,
2019-10-12 21:52:04 +05:30
showErrorBanner: true,
2020-01-01 13:55:28 +05:30
2019-12-26 22:10:19 +05:30
dashboard: {
panel_groups: [],
},
2020-01-01 13:55:28 +05:30
2019-09-04 21:01:54 +05:30
deploymentData: [],
environments: [],
2019-09-30 21:07:59 +05:30
allDashboards: [],
currentDashboard: null,
projectPath: null,
2019-09-04 21:01:54 +05:30
});