Added more detectors to DB

This commit is contained in:
iv_vuytsik
2025-11-11 18:32:36 +03:00
parent 88653cb07c
commit 46045f0b0a
6 changed files with 192 additions and 84 deletions

View File

@@ -71,7 +71,7 @@ const Notifications: React.FC<NotificationsProps> = ({ objectId, detectorsData,
// сортировка по objectId
const filteredNotifications = objectId
? allNotifications.filter(notification => notification.object.toString() === objectId.toString())
? allNotifications.filter(notification => notification.object && notification.object.toString() === objectId.toString())
: allNotifications
// сортировка по timestamp