diff --git a/web/components/doc-renderer-v2.tsx b/web/components/doc-renderer-v2.tsx index 54af0e2..196be1f 100644 --- a/web/components/doc-renderer-v2.tsx +++ b/web/components/doc-renderer-v2.tsx @@ -190,7 +190,7 @@ function ChunkCard({ p{fm.page} {fm.image_type && ยท {fm.image_type}} {fm.ufo_anomaly_detected && ( - ยท ๐ธ UAP: {fm.ufo_anomaly_type} + ยท ๐ธ UAP: {(typeof fm.ufo_anomaly_type === "string" && fm.ufo_anomaly_type.trim() && fm.ufo_anomaly_type.toLowerCase() !== "null") ? fm.ufo_anomaly_type : "anomalia"} )} {(showEn || showPt) && ( @@ -374,11 +374,24 @@ function ChunkCard({ {showEn &&
{content_en}
} {showPt && lang === "both" &&{content_pt}
} {!showEn && showPt &&{content_pt}
} - {fm.ufo_anomaly_detected && ( -