diff --git a/src/pages/notification/component/ListNotification.jsx b/src/pages/notification/component/ListNotification.jsx
index c7078f3..fc1b647 100644
--- a/src/pages/notification/component/ListNotification.jsx
+++ b/src/pages/notification/component/ListNotification.jsx
@@ -36,7 +36,6 @@ import {
PlusOutlined,
ExclamationCircleOutlined,
SearchOutlined,
- MailFilled,
} from '@ant-design/icons';
import { useNavigate, Link as RouterLink } from 'react-router-dom';
import {
@@ -49,7 +48,11 @@ import {
} from '../../../api/notification';
const { Text, Paragraph, Link: AntdLink } = Typography;
-
+const openMail = (
+
+);
// Transform API response to component format
const transformNotificationData = (apiData) => {
return apiData.map((item, index) => ({
@@ -184,13 +187,13 @@ const ListNotification = memo(function ListNotification(props) {
const getIconAndColor = (type) => {
switch (type) {
case 'critical':
- return { IconComponent: MailFilled, color: '#faad14', bgColor: '#fff1f0' };
+ return { IconComponent: MailOutlined, color: '#faad14', bgColor: '#fff1f0' };
case 'warning':
- return { IconComponent: MailFilled, color: '#1890ff', bgColor: '#fffbe6' };
+ return { IconComponent: MailOutlined, color: '#1890ff', bgColor: '#fffbe6' };
case 'resolved':
- return { IconComponent: MailFilled, color: '#52c41a', bgColor: '#f6ffed' };
+ return { IconComponent: MailOutlined, color: '#52c41a', bgColor: '#f6ffed' };
default:
- return { IconComponent: MailFilled, color: '#1890ff', bgColor: '#e6f7ff' };
+ return { IconComponent: MailOutlined, color: '#1890ff', bgColor: '#e6f7ff' };
}
};
@@ -407,7 +410,11 @@ const ListNotification = memo(function ListNotification(props) {
flexShrink: 0,
}}
>
-