diff --git a/web/src/components/overlay/CreateTriggerDialog.tsx b/web/src/components/overlay/CreateTriggerDialog.tsx index 354cf12ad..5672c4802 100644 --- a/web/src/components/overlay/CreateTriggerDialog.tsx +++ b/web/src/components/overlay/CreateTriggerDialog.tsx @@ -98,7 +98,7 @@ export default function CreateTriggerDialog({ .number() .min(0, t("triggers.dialog.form.threshold.error.min")) .max(1, t("triggers.dialog.form.threshold.error.max")), - actions: z.array(z.enum(["alert", "notification"])), + actions: z.array(z.enum(["notification"])), }); const form = useForm>({ @@ -346,13 +346,13 @@ export default function CreateTriggerDialog({ { const currentActions = form.getValues("actions"); if (checked) { form.setValue("actions", [ ...currentActions, - action as "alert" | "notification", + action as TriggerAction, ]); } else { form.setValue(