mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-10-20 13:01:05 +08:00
20 lines
520 B
TypeScript
20 lines
520 B
TypeScript
import ROUTES from 'constants/routes';
|
|
import CreateAlertChannels from 'container/CreateAlertChannels';
|
|
import GeneralSettings from 'container/GeneralSettings';
|
|
import { t } from 'i18next';
|
|
|
|
export const alertsRoutesConfig = [
|
|
{
|
|
Component: GeneralSettings,
|
|
name: t('routes.general'),
|
|
route: ROUTES.SETTINGS,
|
|
key: ROUTES.SETTINGS,
|
|
},
|
|
{
|
|
Component: (): JSX.Element => <CreateAlertChannels preType="slack" />,
|
|
name: t('routes.alert_channels'),
|
|
route: ROUTES.CHANNELS_NEW,
|
|
key: ROUTES.CHANNELS_NEW,
|
|
},
|
|
];
|