diff --git a/frontend/app/components/Dashboard/components/Alerts/AlertsList.tsx b/frontend/app/components/Dashboard/components/Alerts/AlertsList.tsx
index 18019db9d..68443d3d0 100644
--- a/frontend/app/components/Dashboard/components/Alerts/AlertsList.tsx
+++ b/frontend/app/components/Dashboard/components/Alerts/AlertsList.tsx
@@ -5,7 +5,7 @@ import { sliceListPerPage } from 'App/utils';
import { fetchList } from 'Duck/alerts';
import { connect } from 'react-redux';
import { fetchList as fetchWebhooks } from 'Duck/webhook';
-
+import AnimatedSVG, { ICONS } from 'Shared/AnimatedSVG/AnimatedSVG';
import AlertListItem from './AlertListItem'
const pageSize = 10;
@@ -35,7 +35,7 @@ function AlertsList({ fetchList, list: alertsList, alertsSearch, siteId, init, f
show={lenth === 0}
title={
-
+
{alertsSearch !== '' ? 'No matching results' : "You haven't created any alerts yet"}
diff --git a/frontend/app/components/shared/AnimatedSVG/AnimatedSVG.tsx b/frontend/app/components/shared/AnimatedSVG/AnimatedSVG.tsx
index 6da744291..65545ca99 100644
--- a/frontend/app/components/shared/AnimatedSVG/AnimatedSVG.tsx
+++ b/frontend/app/components/shared/AnimatedSVG/AnimatedSVG.tsx
@@ -15,6 +15,7 @@ import NoMetadata from '../../../svg/ca-no-metadata.svg';
import NoIssues from '../../../svg/ca-no-issues.svg';
import NoAuditTrail from '../../../svg/ca-no-audit-trail.svg';
import NoAnnouncements from '../../../svg/ca-no-announcements.svg';
+import NoAlerts from '../../../svg/ca-no-alerts.svg';
export enum ICONS {
DASHBOARD_ICON = 'dashboard-icn',
@@ -30,10 +31,10 @@ export enum ICONS {
NO_SESSIONS_IN_VAULT = 'ca-no-sessions-in-vault',
NO_WEBHOOKS = 'ca-no-webhooks',
NO_METADATA = 'ca-no-metadata',
- NO_SESSIONS_IN_VAULT = 'ca-no-sessions-in-vault',
NO_ISSUES = 'ca-no-issues',
NO_AUDIT_TRAIL = 'ca-no-audit-trail',
NO_ANNOUNCEMENTS = 'ca-no-announcements',
+ NO_ALERTS = 'ca-no-alerts',
}
interface Props {
@@ -76,6 +77,8 @@ function AnimatedSVG(props: Props) {
return
;
case ICONS.NO_ANNOUNCEMENTS:
return
;
+ case ICONS.NO_ALERTS:
+ return
;
default:
return null;
}
diff --git a/frontend/app/svg/ca-no-alerts.svg b/frontend/app/svg/ca-no-alerts.svg
new file mode 100644
index 000000000..998ba4e05
--- /dev/null
+++ b/frontend/app/svg/ca-no-alerts.svg
@@ -0,0 +1,4 @@
+