mirror of https://github.com/grafana/grafana.git
fix(alerting): use alerting-admin as navId for settings (#108116)
This commit is contained in:
parent
8cb6993fe6
commit
930c5a7024
|
|
@ -28,7 +28,7 @@ describe('useSettingsPageNav', () => {
|
|||
|
||||
const { result } = renderHook(() => useSettingsPageNav(), { wrapper });
|
||||
|
||||
expect(result.current.navId).toBe('alerting');
|
||||
expect(result.current.navId).toBe('alerting-admin');
|
||||
|
||||
// Check the structure
|
||||
// eslint-disable-next-line testing-library/no-node-access
|
||||
|
|
@ -75,7 +75,7 @@ describe('useSettingsPageNav', () => {
|
|||
|
||||
const { result } = renderHook(() => useSettingsPageNav(), { wrapper });
|
||||
|
||||
expect(result.current.navId).toBe('alerting');
|
||||
expect(result.current.navId).toBe('alerting-admin');
|
||||
|
||||
// Should have 3 children: alertmanager + 2 extensions
|
||||
// eslint-disable-next-line testing-library/no-node-access
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ export function useSettingsPageNav() {
|
|||
};
|
||||
|
||||
return {
|
||||
navId: 'alerting',
|
||||
navId: 'alerting-admin',
|
||||
pageNav,
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue