2021-11-22 11:49:09 +05:30
|
|
|
import { Tabs } from 'antd';
|
|
|
|
|
import AllAlertRules from 'container/ListAlertRules';
|
|
|
|
|
// import MapAlertChannels from 'container/MapAlertChannels';
|
|
|
|
|
import TriggeredAlerts from 'container/TriggeredAlerts';
|
|
|
|
|
import React from 'react';
|
2022-03-22 12:10:31 +05:30
|
|
|
|
2021-11-22 11:49:09 +05:30
|
|
|
const { TabPane } = Tabs;
|
|
|
|
|
|
2022-03-22 12:10:31 +05:30
|
|
|
function AllAlertList(): JSX.Element {
|
2021-11-22 11:49:09 +05:30
|
|
|
return (
|
|
|
|
|
<Tabs destroyInactiveTabPane defaultActiveKey="Alert Rules">
|
|
|
|
|
<TabPane tabKey="Alert Rules" tab="Alert Rules" key="Alert Rules">
|
|
|
|
|
<AllAlertRules />
|
|
|
|
|
</TabPane>
|
|
|
|
|
|
|
|
|
|
<TabPane
|
|
|
|
|
tabKey="Triggered Alerts"
|
|
|
|
|
key="Triggered Alerts"
|
|
|
|
|
tab="Triggered Alerts"
|
|
|
|
|
>
|
|
|
|
|
<TriggeredAlerts />
|
|
|
|
|
</TabPane>
|
|
|
|
|
|
|
|
|
|
{/* <TabPane
|
|
|
|
|
tabKey="Map Alert Channels"
|
|
|
|
|
key="Map Alert Channels"
|
|
|
|
|
tab="Map Alert Channels"
|
|
|
|
|
>
|
|
|
|
|
<MapAlertChannels />
|
|
|
|
|
</TabPane> */}
|
|
|
|
|
</Tabs>
|
|
|
|
|
);
|
2022-03-22 12:10:31 +05:30
|
|
|
}
|
2021-11-22 11:49:09 +05:30
|
|
|
|
|
|
|
|
export default AllAlertList;
|