diff --git a/client/src/pages/Alerts.jsx b/client/src/pages/Alerts.jsx
index 291d8bf..b364a88 100644
--- a/client/src/pages/Alerts.jsx
+++ b/client/src/pages/Alerts.jsx
@@ -372,11 +372,7 @@ const Alerts = () => {
- {(alertRules || []).map((rule) => {
- // DEBUG: Aggressive debugging for this specific rule
- console.log('🔍 Rendering rule:', rule.id, 'alert_channels:', rule.alert_channels, 'type:', typeof rule.alert_channels);
-
- return (
+ {(alertRules || []).map((rule) => (
|
@@ -530,8 +526,7 @@ const Alerts = () => {
|
- );
- })}
+ ))}
diff --git a/client/src/utils/tempTranslations.js b/client/src/utils/tempTranslations.js
index 06e4627..26eb5a1 100644
--- a/client/src/utils/tempTranslations.js
+++ b/client/src/utils/tempTranslations.js
@@ -544,7 +544,7 @@ const translations = {
high: 'High',
critical: 'Critical'
},
- channels: {
+ channelTypes: {
sms: 'SMS',
webhook: 'Webhook',
email: 'Email'
@@ -1163,7 +1163,7 @@ const translations = {
high: 'Hög',
critical: 'Kritisk'
},
- channels: {
+ channelTypes: {
sms: 'SMS',
webhook: 'Webhook',
email: 'E-post'