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