From 9834e73ca4c1212538dffbfee92d206d07f403ec Mon Sep 17 00:00:00 2001 From: Pulse Monitor Date: Sat, 23 Aug 2025 07:37:22 +0000 Subject: [PATCH] fix: add Gotify to service dropdown to properly apply webhook template - Gotify was missing from the service type dropdown - Users were forced to use generic webhook which doesn't include required 'message' field - Now users can select Gotify service type which applies the correct template - Addresses #342 - actually fixes Gotify webhook notifications --- frontend-modern/src/components/Alerts/WebhookConfig.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend-modern/src/components/Alerts/WebhookConfig.tsx b/frontend-modern/src/components/Alerts/WebhookConfig.tsx index 086587ec4..eaaf63fe7 100644 --- a/frontend-modern/src/components/Alerts/WebhookConfig.tsx +++ b/frontend-modern/src/components/Alerts/WebhookConfig.tsx @@ -130,7 +130,8 @@ export function WebhookConfig(props: WebhookConfigProps) { telegram: 'Telegram', teams: 'Microsoft Teams', 'teams-adaptive': 'Teams (Adaptive)', - pagerduty: 'PagerDuty' + pagerduty: 'PagerDuty', + gotify: 'Gotify' }; return names[service] || service; }; @@ -212,7 +213,7 @@ export function WebhookConfig(props: WebhookConfigProps) {
- + {(service) => (