Got rid of magic numbers in the modal.

This commit is contained in:
Skorpios committed 2025-03-11 19:06:57 -07:00
1 parent f7b247fa9d
commit 798a680fc6
2 files changed
+26 -10

No files matched your search

@@ -53,7 +53,7 @@ const useNotifications = () => {
case 'webhook':
payload.webhookUrl = config.url;
payload.platform = 'slack'; // Use slack as platform for webhooks
payload.platform = 'slack';
if (!payload.webhookUrl) {
isValid = false;
errorMessage = t('notifications.webhook.urlRequired', 'Please enter a webhook URL first.');