fix: close sets restored_at, SLA alert type, error shape, prefix label
This commit is contained in:
@@ -9,7 +9,8 @@ export type NotificationType =
|
||||
| "insurance_expiry"
|
||||
| "warranty_expiry"
|
||||
| "demo_overdue"
|
||||
| "critical_complaint";
|
||||
| "critical_complaint"
|
||||
| "sla_breach";
|
||||
|
||||
export interface NotificationItem {
|
||||
id: number;
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user