Got rid of magic numbers in the modal.
This commit is contained in:
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.');
|
||||
|
||||
Reference in new issue
Block a user