|
|
@ -1,7 +1,7 @@ |
|
|
|
import { useLocation } from 'react-router-dom-v5-compat'; |
|
|
|
import { useLocation } from 'react-router-dom-v5-compat'; |
|
|
|
|
|
|
|
|
|
|
|
import { NavModelItem } from '@grafana/data'; |
|
|
|
import { NavModelItem } from '@grafana/data'; |
|
|
|
import { useSelector } from 'app/types'; |
|
|
|
import { useSelector } from 'app/types/store'; |
|
|
|
|
|
|
|
|
|
|
|
type SettingsSectionUrl = `/alerting/admin/${string}`; |
|
|
|
type SettingsSectionUrl = `/alerting/admin/${string}`; |
|
|
|
type SettingsSectionNav = Pick<NavModelItem, 'id' | 'text' | 'icon'> & { |
|
|
|
type SettingsSectionNav = Pick<NavModelItem, 'id' | 'text' | 'icon'> & { |
|
|
|