mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Data Connections: make sub-routes work (#50754)
* fix(Data Connections): make sub-routes work * test(Data Connections): add basic tests for sub-urls
This commit is contained in:
@@ -17,9 +17,9 @@ export default function DataConnectionsPage(): React.ReactElement | null {
|
||||
<Page navModel={navModel}>
|
||||
<Page.Contents>
|
||||
<Switch>
|
||||
<Route exact path={ROUTES.Plugins} component={Plugins} />
|
||||
<Route exact path={ROUTES.CloudIntegrations} component={CloudIntegrations} />
|
||||
<Route exact path={ROUTES.RecordedQueries} component={RecordedQueries} />
|
||||
<Route path={ROUTES.Plugins} component={Plugins} />
|
||||
<Route path={ROUTES.CloudIntegrations} component={CloudIntegrations} />
|
||||
<Route path={ROUTES.RecordedQueries} component={RecordedQueries} />
|
||||
|
||||
{/* Default page */}
|
||||
<Route component={DataSources} />
|
||||
|
Reference in New Issue
Block a user