mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 00:25:46 -06:00
* remove dataConnectionsConsole feature toggle * fix imports * reintroduce dataConnectionsConsole To prevent breaking change
17 lines
474 B
TypeScript
17 lines
474 B
TypeScript
import { SafeDynamicImport } from 'app/core/components/DynamicImports/SafeDynamicImport';
|
|
import { RouteDescriptor } from 'app/core/navigation/types';
|
|
|
|
import { ROUTE_BASE_ID } from './constants';
|
|
|
|
export function getRoutes(): RouteDescriptor[] {
|
|
return [
|
|
{
|
|
path: `/${ROUTE_BASE_ID}`,
|
|
exact: false,
|
|
component: SafeDynamicImport(
|
|
() => import(/* webpackChunkName: "Connections"*/ 'app/features/connections/Connections')
|
|
),
|
|
},
|
|
];
|
|
}
|