fix: preserve undocumented Mocuba fields and hide internal office source names in QA

This commit is contained in:
2026-11-21 21:12:34 +02:00
parent a4ecc8a5a9
commit b20feeb72e
17 changed files with 805 additions and 8 deletions
@@ -147,8 +147,7 @@ export function LocationList({
{!location.coordinates.length && (
<p>Coordenadas não documentadas.</p>
)}
{(publicReference(location.source_reference) ||
location.source_date) && (
{publicReference(location.source_reference) && (
<p className="text-sm">
{publicReference(location.source_reference) && (
<>
@@ -158,11 +157,12 @@ export function LocationList({
/>
</>
)}
{location.source_date && (
<> · Data: {location.source_date}</>
)}
</p>
)}
<p className="text-sm">
Data da fonte:{' '}
{location.source_date?.trim() || 'Não documentada'}
</p>
{uniquePresentation(location.boundaries ?? [], (b) =>
JSON.stringify([
b.geometry_id,