fix: close sets restored_at, SLA alert type, error shape, prefix label

This commit is contained in:
Atharv1705
2026-11-12 18:11:08 +05:30
parent e2a6fa601e
commit 1cf218ca00
6 changed files with 200 additions and 20 deletions
+2 -1
View File
@@ -9,7 +9,8 @@ export type NotificationType =
| "insurance_expiry"
| "warranty_expiry"
| "demo_overdue"
| "critical_complaint";
| "critical_complaint"
| "sla_breach";
export interface NotificationItem {
id: number;
+2
View File
@@ -29,6 +29,7 @@ const TYPE_OPTIONS: { value: NotificationType | ""; label: string }[] = [
{ value: "warranty_expiry", label: "Warranty Expiry" },
{ value: "demo_overdue", label: "Demo Overdue" },
{ value: "critical_complaint", label: "Critical Complaint" },
{ value: "sla_breach", label: "SLA Breach" },
];
const TYPE_LABELS: Record<string, string> = {
@@ -39,6 +40,7 @@ const TYPE_LABELS: Record<string, string> = {
warranty_expiry: "Warranty Expiry",
demo_overdue: "Demo Overdue",
critical_complaint: "Critical Complaint",
sla_breach: "SLA Breach",
};
export function NotificationsPage() {