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

View File

@@ -544,7 +544,7 @@ const translations = {
high: 'High', high: 'High',
critical: 'Critical' critical: 'Critical'
}, },
channels: { channelTypes: {
sms: 'SMS', sms: 'SMS',
webhook: 'Webhook', webhook: 'Webhook',
email: 'Email' email: 'Email'
@@ -1163,7 +1163,7 @@ const translations = {
high: 'Hög', high: 'Hög',
critical: 'Kritisk' critical: 'Kritisk'
}, },
channels: { channelTypes: {
sms: 'SMS', sms: 'SMS',
webhook: 'Webhook', webhook: 'Webhook',
email: 'E-post' email: 'E-post'