Fix jwt-token
This commit is contained in:
@@ -352,6 +352,7 @@ const Alerts = () => {
|
||||
<th>{t('alerts.type')}</th>
|
||||
<th>{t('alerts.recipient')}</th>
|
||||
<th>{t('alerts.rule')}</th>
|
||||
<th>{t('alerts.droneId')}</th>
|
||||
<th>{t('alerts.detection')}</th>
|
||||
<th>{t('alerts.message')}</th>
|
||||
<th>{t('alerts.sentAt')}</th>
|
||||
@@ -383,6 +384,17 @@ const Alerts = () => {
|
||||
{log.rule?.name || t('alerts.unknownRule')}
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div className="text-sm text-gray-900">
|
||||
{log.detection?.drone_id ? (
|
||||
<span className="px-2 py-1 bg-purple-100 text-purple-800 rounded text-xs font-mono">
|
||||
{log.detection.drone_id}
|
||||
</span>
|
||||
) : (
|
||||
<span className="text-gray-400 text-sm">{t('alerts.na')}</span>
|
||||
)}
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
{log.detection_id ? (
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user