Fix jwt-token
This commit is contained in:
@@ -352,6 +352,7 @@ const Alerts = () => {
|
|||||||
<th>{t('alerts.type')}</th>
|
<th>{t('alerts.type')}</th>
|
||||||
<th>{t('alerts.recipient')}</th>
|
<th>{t('alerts.recipient')}</th>
|
||||||
<th>{t('alerts.rule')}</th>
|
<th>{t('alerts.rule')}</th>
|
||||||
|
<th>{t('alerts.droneId')}</th>
|
||||||
<th>{t('alerts.detection')}</th>
|
<th>{t('alerts.detection')}</th>
|
||||||
<th>{t('alerts.message')}</th>
|
<th>{t('alerts.message')}</th>
|
||||||
<th>{t('alerts.sentAt')}</th>
|
<th>{t('alerts.sentAt')}</th>
|
||||||
@@ -383,6 +384,17 @@ const Alerts = () => {
|
|||||||
{log.rule?.name || t('alerts.unknownRule')}
|
{log.rule?.name || t('alerts.unknownRule')}
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</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>
|
<td>
|
||||||
{log.detection_id ? (
|
{log.detection_id ? (
|
||||||
<button
|
<button
|
||||||
|
|||||||
@@ -192,6 +192,7 @@ const translations = {
|
|||||||
delete: 'Delete',
|
delete: 'Delete',
|
||||||
recipient: 'Recipient',
|
recipient: 'Recipient',
|
||||||
rule: 'Rule',
|
rule: 'Rule',
|
||||||
|
droneId: 'Drone ID',
|
||||||
detection: 'Detection',
|
detection: 'Detection',
|
||||||
message: 'Message',
|
message: 'Message',
|
||||||
sentAt: 'Sent At',
|
sentAt: 'Sent At',
|
||||||
@@ -675,6 +676,7 @@ const translations = {
|
|||||||
delete: 'Ta bort',
|
delete: 'Ta bort',
|
||||||
recipient: 'Mottagare',
|
recipient: 'Mottagare',
|
||||||
rule: 'Regel',
|
rule: 'Regel',
|
||||||
|
droneId: 'Drönar-ID',
|
||||||
detection: 'Detektion',
|
detection: 'Detektion',
|
||||||
message: 'Meddelande',
|
message: 'Meddelande',
|
||||||
sentAt: 'Skickat vid',
|
sentAt: 'Skickat vid',
|
||||||
|
|||||||
Reference in New Issue
Block a user