Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
🐛 pagerduty (#1162)
Thibault Le Ouay5b60665f5dbc
diff --git a/apps/web/src/components/forms/notification/form.tsx b/apps/web/src/components/forms/notification/form.tsxindex a5c245aef..52aa6bc71 100644--- a/apps/web/src/components/forms/notification/form.tsx+++ b/apps/web/src/components/forms/notification/form.tsx@@ -104,7 +104,7 @@ export function NotificationForm({return (<Form {...form}><form- onSubmit={form.handleSubmit(onSubmit, console.log)}+ onSubmit={form.handleSubmit(onSubmit)}id="notification-form" // we use a form id to connect the submit button to the form (as we also have the form nested inside of `MonitorForm`)className="flex flex-col gap-4">diff --git a/apps/web/src/components/forms/notification/provider/section-pagerduty.tsx b/apps/web/src/components/forms/notification/provider/section-pagerduty.tsxindex 2ba4020f9..cbe988a19 100644--- a/apps/web/src/components/forms/notification/provider/section-pagerduty.tsx+++ b/apps/web/src/components/forms/notification/provider/section-pagerduty.tsx@@ -36,6 +36,10 @@ export function SectionPagerDuty({ form }: Props) {const data = result.data;+ if (config) {+ form.setValue("data.pagerduty", config);+ }+async function sendTestAlert() {startTestTransition(async () => {const isSuccessfull = await sendPagerDutyTestAlert(