[release-12.3.1] Plugins: Datasource breadcrumb link should link to settings tab (#113910)
Plugins: Datasource breadcrumb link should link to settings tab (#113862)
datasource breadcrumb link should link to settings tab
(cherry picked from commit 1535cfc17b)
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
24eef8b939
commit
02350c2f54
@@ -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/'),
|
||||
|
||||
Reference in New Issue
Block a user