fix: remove internal metadata from investor dossier presentation
tests / ci (push) Canceled after 0s
tests / ci (push) Canceled after 0s
This commit is contained in:
@@ -119,12 +119,9 @@ function Result({ result }: { result: PathResult }) {
|
||||
</p>
|
||||
<p className="text-sm">
|
||||
Estimativa recalculada pelas fórmulas da ferramenta a partir
|
||||
das entradas guardadas, versão {result.draft_version}. Não
|
||||
dos dados preenchidos. Não
|
||||
constitui decisão de financiamento.
|
||||
</p>
|
||||
<p className="text-xs break-all">
|
||||
Evidência {result.id} · {result.engine}
|
||||
</p>
|
||||
</li>
|
||||
);
|
||||
} catch (error) {
|
||||
@@ -451,16 +448,14 @@ export default function InvestmentPath(path: Path) {
|
||||
{path.investment_context && (
|
||||
<section className="space-y-2 rounded border border-emerald-300 bg-emerald-50 p-4">
|
||||
<h2 className="font-semibold">
|
||||
Contexto atual — revisão{' '}
|
||||
{path.investment_context.revision}
|
||||
As suas escolhas
|
||||
</h2>
|
||||
{Object.values(path.investment_context.selection).map(
|
||||
(ref) => (
|
||||
<p key={ref.key}>
|
||||
<Link className="underline" href={ref.href}>
|
||||
{ref.title}
|
||||
</Link>{' '}
|
||||
· versão {ref.version ?? 'não exposta'}
|
||||
</Link>
|
||||
</p>
|
||||
),
|
||||
)}
|
||||
@@ -492,15 +487,9 @@ export default function InvestmentPath(path: Path) {
|
||||
{zone.title}
|
||||
</Link>
|
||||
<p>
|
||||
UUID {zone.zone_id} · versão consultada{' '}
|
||||
{zone.consulted_public_version} ·{' '}
|
||||
{zone.selected_at}
|
||||
</p>
|
||||
<p>{zone.notice}</p>
|
||||
<p>
|
||||
A ficha atual pode ter uma versão diferente;
|
||||
esta referência conserva a consulta registada.
|
||||
</p>
|
||||
</article>
|
||||
))}
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user