mirror of
https://github.com/grafana/grafana.git
synced 2024-11-23 01:16:31 -06:00
Connections: Fix create new datasource route (#67802)
fix(connections): prevent datasources details route matching new route
This commit is contained in:
parent
1afaf4d73e
commit
8ca9a89cf1
@ -31,8 +31,8 @@ export default function Connections() {
|
||||
{/* Redirect to "Add new connection" by default */}
|
||||
<Route exact sensitive path={ROUTES.Base} component={() => <Redirect to={ROUTES.AddNewConnection} />} />
|
||||
<Route exact sensitive path={ROUTES.DataSources} component={DataSourcesListPage} />
|
||||
<Route exact sensitive path={ROUTES.DataSourcesDetails} component={DataSourceDetailsPage} />
|
||||
<Route exact sensitive path={ROUTES.DataSourcesNew} component={NewDataSourcePage} />
|
||||
<Route exact sensitive path={ROUTES.DataSourcesDetails} component={DataSourceDetailsPage} />
|
||||
<Route exact sensitive path={ROUTES.DataSourcesEdit} component={EditDataSourcePage} />
|
||||
<Route exact sensitive path={ROUTES.DataSourcesDashboards} component={DataSourceDashboardsPage} />
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user