added NPED cat sorting
This commit is contained in:
@@ -6,6 +6,7 @@ type InfoBarprops = {
|
||||
};
|
||||
const InfoBar = ({ obj }: InfoBarprops) => {
|
||||
// const isNPEDHit = obj?.metadata?.npedJSON?.status_code === 404;
|
||||
const isNPEDHitD = obj?.metadata?.npedJSON?.["NPED CATEGORY"] === "D";
|
||||
|
||||
return (
|
||||
<div className="flex items-center gap-3 text-xs bg-neutral-900 px-2 py-1 rounded justify-between">
|
||||
@@ -19,11 +20,11 @@ const InfoBar = ({ obj }: InfoBarprops) => {
|
||||
</div>
|
||||
|
||||
<div className="min-w-14 opacity-80 ">
|
||||
{/* {isNPEDHit ? (
|
||||
<span className="text-red-500 font-semibold">NPED HIT</span>
|
||||
{isNPEDHitD ? (
|
||||
<span className="text-amber-500 font-semibold">NPED HIT CAT D</span>
|
||||
) : (
|
||||
""
|
||||
)} */}
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user