feat: Implement notification channel based on status (Service Dialog Form and Refactor Split ServiceForm into smaller components).
- The Service Dialog Form's Notification Channel field now respects the `notification_status`. If `notification_status` is enabled, the user can select one or multiple notification channel IDs.
This commit is contained in:
@@ -17,6 +17,7 @@ export interface Service {
|
||||
updated?: string;
|
||||
notification_channel?: string;
|
||||
notificationChannel?: string; // Keep for backward compatibility
|
||||
notification_status?: "enabled" | "disabled"; // Add notification_status field
|
||||
alertTemplate?: string;
|
||||
alerts?: "muted" | "unmuted"; // Make sure alerts is properly typed as union
|
||||
muteAlerts?: boolean; // Keep this to avoid breaking existing code
|
||||
|
||||
Reference in New Issue
Block a user