Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

fix(frontend): add Mattermost to webhook service type dropdown

rcourtman607a303b7776
diff --git a/frontend-modern/src/components/Alerts/WebhookConfig.tsx b/frontend-modern/src/components/Alerts/WebhookConfig.tsx
index a4a353a37b..9565fc73c4 100644
--- a/frontend-modern/src/components/Alerts/WebhookConfig.tsx
+++ b/frontend-modern/src/components/Alerts/WebhookConfig.tsx
@@ -310,6 +310,7 @@ export function WebhookConfig(props: WebhookConfigProps) {
generic: 'Generic',
discord: 'Discord',
slack: 'Slack',
+ mattermost: 'Mattermost',
telegram: 'Telegram',
teams: 'Microsoft Teams',
'teams-adaptive': 'Teams (Adaptive)',
@@ -440,6 +441,7 @@ export function WebhookConfig(props: WebhookConfigProps) {
'generic',
'discord',
'slack',
+ 'mattermost',
'telegram',
'teams',
'teams-adaptive',
@@ -469,19 +471,21 @@ export function WebhookConfig(props: WebhookConfigProps) {
? 'Discord server webhook'
: service === 'slack'
? 'Slack incoming webhook'
- : service === 'telegram'
- ? 'Telegram bot notifications'
- : service === 'teams'
- ? 'Microsoft Teams webhook'
- : service === 'teams-adaptive'
- ? 'Teams with Adaptive Cards'
- : service === 'pushover'
- ? 'Mobile push notifications'
- : service === 'gotify'
- ? 'Self-hosted push notifications'
- : service === 'ntfy'
- ? 'Push notifications via ntfy.sh'
- : 'PagerDuty Events API v2'}
+ : service === 'mattermost'
+ ? 'Mattermost incoming webhook'
+ : service === 'telegram'
+ ? 'Telegram bot notifications'
+ : service === 'teams'
+ ? 'Microsoft Teams webhook'
+ : service === 'teams-adaptive'
+ ? 'Teams with Adaptive Cards'
+ : service === 'pushover'
+ ? 'Mobile push notifications'
+ : service === 'gotify'
+ ? 'Self-hosted push notifications'
+ : service === 'ntfy'
+ ? 'Push notifications via ntfy.sh'
+ : 'PagerDuty Events API v2'}
</div>
</button>
)}