- updated state for tracking sessions
- removed un used state in sighting feed - added groupings depending on sightings
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user