Fix jwt-token

This commit is contained in:
2025-09-23 12:28:43 +02:00
parent 4e29272f7e
commit 3f687abf2b
2 changed files with 4 additions and 9 deletions

View File

@@ -372,11 +372,7 @@ const Alerts = () => {
</tr>
</thead>
<tbody>
{(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) => (
<tr key={rule.id} className="hover:bg-gray-50">
<td>
<div>
@@ -530,8 +526,7 @@ const Alerts = () => {
</div>
</td>
</tr>
);
})}
))}
</tbody>
</table>
</div>

View File

@@ -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'