diff --git a/src/components/Notifications/NotificationsStatusCell.tsx b/src/components/Notifications/NotificationsStatusCell.tsx index f04a18715..ea472ef00 100644 --- a/src/components/Notifications/NotificationsStatusCell.tsx +++ b/src/components/Notifications/NotificationsStatusCell.tsx @@ -1,6 +1,6 @@ import { NotificationSendHistoryApiResponse } from "@flanksource-ui/api/types/notifications"; import { MRTCellProps } from "@flanksource-ui/ui/MRTDataTable/MRTCellProps"; -import { FaBan, FaBellSlash, FaDotCircle } from "react-icons/fa"; +import { FaBellSlash, FaDotCircle } from "react-icons/fa"; export const notificationSendHistoryStatus = { sent: { @@ -15,17 +15,35 @@ export const notificationSendHistoryStatus = { value: "error", id: "error" }, + sending: { + label: "Sending", + Icon: , + value: "sending", + id: "sending" + }, pending: { label: "Pending", Icon: , value: "pending", id: "pending" }, - cancelled: { - label: "Cancelled", - Icon: , - value: "cancelled", - id: "cancelled" + pending_playbook_run: { + label: "Pending Playbook Run", + Icon: , + value: "pending_playbook_run", + id: "pending_playbook_run" + }, + pending_playbook_completion: { + label: "Playbook In Progress", + Icon: , + value: "pending_playbook_completion", + id: "pending_playbook_completion" + }, + "evaluating-waitfor": { + label: "Evaluating WaitFor", + Icon: , + value: "evaluating-waitfor", + id: "evaluating-waitfor" }, "repeat-interval": { label: "Repeated", @@ -38,6 +56,12 @@ export const notificationSendHistoryStatus = { Icon: , value: "silenced", id: "silenced" + }, + skipped: { + label: "Skipped", + Icon: , + value: "skipped", + id: "skipped" } };