Plugins: Datasource breadcrumb link should link to settings tab (#113862)

datasource breadcrumb link should link to settings tab
This commit is contained in:
Will Browne
2025-11-14 10:03:39 +00:00
committed by GitHub
parent 9ad6507eef
commit 1535cfc17b
2 changed files with 2 additions and 0 deletions
@@ -78,6 +78,7 @@ export function useDataSourceSettingsNav(pageIdParam?: string) {
active: true,
text: datasource.name || '',
subTitle: dataSourceMeta.name ? `Type: ${dataSourceMeta.name}` : '',
url: `/connections/datasources/edit/${uid}/`,
children: (pageNav.main.children || []).map((navModelItem) => ({
...navModelItem,
url: navModelItem.url?.replace('datasources/edit/', '/connections/datasources/edit/'),
@@ -79,6 +79,7 @@ export function useDataSourceTabNav(pageName: string, pageIdParam?: string) {
active: true,
text: datasource.name || '',
subTitle: dataSourceMeta.name ? `Type: ${dataSourceMeta.name}` : '',
url: `/connections/datasources/edit/${uid}/`,
children: (pageNav.main.children || []).map((navModelItem) => ({
...navModelItem,
url: navModelItem.url?.replace('datasources/edit/', '/connections/datasources/edit/'),