From 3a94adcdbd3050a3788497c7955e64fad48c752a Mon Sep 17 00:00:00 2001 From: Alexander Borg Date: Mon, 22 Sep 2025 08:13:29 +0200 Subject: [PATCH] Fix jwt-token --- client/src/pages/Alerts.jsx | 12 ++++++++++++ client/src/utils/tempTranslations.js | 2 ++ 2 files changed, 14 insertions(+) diff --git a/client/src/pages/Alerts.jsx b/client/src/pages/Alerts.jsx index 2e8b28c..197b4ea 100644 --- a/client/src/pages/Alerts.jsx +++ b/client/src/pages/Alerts.jsx @@ -352,6 +352,7 @@ const Alerts = () => { {t('alerts.type')} {t('alerts.recipient')} {t('alerts.rule')} + {t('alerts.droneId')} {t('alerts.detection')} {t('alerts.message')} {t('alerts.sentAt')} @@ -383,6 +384,17 @@ const Alerts = () => { {log.rule?.name || t('alerts.unknownRule')} + +
+ {log.detection?.drone_id ? ( + + {log.detection.drone_id} + + ) : ( + {t('alerts.na')} + )} +
+ {log.detection_id ? (