AEB-55 / Добавлены лого и иконки

This commit is contained in:
iv_vuytsik
2025-09-11 08:12:18 +03:00
parent 4d6b7b48d7
commit ac5d0d0b00
25 changed files with 78 additions and 47934 deletions

View File

@@ -65,8 +65,7 @@ const NotificationDetectorInfo: React.FC<NotificationDetectorInfoProps> = ({ det
default: return 'text-gray-400'
}
}
// Get the latest notification for this detector
const latestNotification = detectorInfo.notifications && detectorInfo.notifications.length > 0
? detectorInfo.notifications.sort((a, b) => new Date(b.timestamp).getTime() - new Date(a.timestamp).getTime())[0]
: null