AEB-55 / Добавлены лого и иконки
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user