diff --git a/src/api/types/notifications.ts b/src/api/types/notifications.ts index 725a7b9b5..25a139aad 100644 --- a/src/api/types/notifications.ts +++ b/src/api/types/notifications.ts @@ -45,6 +45,7 @@ export type NotificationRules = { export type SilenceNotificationResponse = { id: string; + filter?: string; component_id?: string; config_id?: string; check_id?: string; @@ -85,6 +86,7 @@ export type NotificationSilenceItem = { id: string; namespace: string; description?: string; + filter?: string; from: string; until: string; recursive?: boolean; diff --git a/src/components/Notifications/SilenceNotificationForm/EditNotificationSilenceModal.tsx b/src/components/Notifications/SilenceNotificationForm/EditNotificationSilenceModal.tsx index 9afd609bf..4ccc07695 100644 --- a/src/components/Notifications/SilenceNotificationForm/EditNotificationSilenceModal.tsx +++ b/src/components/Notifications/SilenceNotificationForm/EditNotificationSilenceModal.tsx @@ -16,12 +16,7 @@ export default function EditNotificationSilenceModal({ onUpdate = () => {} }: EditNotificationSilenceModalProps) { return ( - +
- +