- updated NPED function to make it less expensive
This commit is contained in:
@@ -140,3 +140,6 @@ export const checkIsHotListHit = (sigthing: SightingType | null) => {
|
||||
return isHotListHit;
|
||||
}
|
||||
};
|
||||
|
||||
export const getNPEDCategory = (r?: SightingType) =>
|
||||
r?.metadata?.npedJSON?.["NPED CATEGORY"] as "A" | "B" | "C" | undefined;
|
||||
|
||||
Reference in New Issue
Block a user