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,
|
2019-09-30 21:07:59 +05:30
|
|
|
multipleDashboardsEnabled: false,
|
|
|
|
additionalPanelTypesEnabled: false,
|
2019-09-04 21:01:54 +05:30
|
|
|
emptyState: 'gettingStarted',
|
|
|
|
showEmptyState: true,
|
2019-10-12 21:52:04 +05:30
|
|
|
showErrorBanner: true,
|
2019-09-04 21:01:54 +05:30
|
|
|
groups: [],
|
|
|
|
deploymentData: [],
|
|
|
|
environments: [],
|
|
|
|
metricsWithData: [],
|
2019-09-30 21:07:59 +05:30
|
|
|
allDashboards: [],
|
|
|
|
currentDashboard: null,
|
|
|
|
projectPath: null,
|
2019-09-04 21:01:54 +05:30
|
|
|
});
|