- updated state for tracking sessions

- removed un used state in sighting feed

- added groupings depending on sightings
This commit is contained in:
2025-10-08 15:46:54 +01:00
parent 4e2d3c47c0
commit 17a4a6de8d
7 changed files with 82 additions and 24 deletions

View File

@@ -19,6 +19,8 @@ const AlertItem = ({ item }: AlertItemProps) => {
// const {d} = useCameraBlackboard();
const motionAway = (item?.motion ?? "").toUpperCase() === "AWAY";
// [34].metadata.hotlistMatches["MAV_Hotlist.csv"]
//check if true is in any hotlist property
const isHotListHit = item?.metadata?.hotlistMatches?.Hotlist0 === true;
const isNPEDHitA = item?.metadata?.npedJSON?.["NPED CATEGORY"] === "A";
const isNPEDHitB = item?.metadata?.npedJSON?.["NPED CATEGORY"] === "B";