Fix jwt-token
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user