mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-10-19 04:21:29 +08:00
23 lines
609 B
TypeScript
23 lines
609 B
TypeScript
import ROUTES from 'constants/routes';
|
|
import CreateAlertChannels from 'container/CreateAlertChannels';
|
|
import { ChannelType } from 'container/CreateAlertChannels/config';
|
|
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={ChannelType.Slack} />
|
|
),
|
|
name: t('routes.alert_channels'),
|
|
route: ROUTES.CHANNELS_NEW,
|
|
key: ROUTES.CHANNELS_NEW,
|
|
},
|
|
];
|