Integrate supplied institutions by location category and type through investor dossiers
This commit is contained in:
@@ -279,7 +279,9 @@ function Editor({
|
||||
}
|
||||
function text(
|
||||
key: {
|
||||
[K in keyof Draft]: Draft[K] extends string ? K : never;
|
||||
[K in keyof Draft]-?: Draft[K] extends string | null | undefined
|
||||
? K
|
||||
: never;
|
||||
}[keyof Draft],
|
||||
label: string,
|
||||
type = 'text',
|
||||
@@ -427,6 +429,18 @@ function Editor({
|
||||
{!draft.manager_organization_id &&
|
||||
text('manager_name', 'Gestor indicado pela fonte')}
|
||||
{text('source_url', 'Endereço da fonte', 'url')}
|
||||
{!draft.source_url && (
|
||||
<>
|
||||
{text(
|
||||
'source_document_name',
|
||||
'Documento de origem',
|
||||
)}
|
||||
{text(
|
||||
'source_document_sha256',
|
||||
'SHA-256 do documento',
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
{text('source_reference', 'Documento, edição e referência')}
|
||||
{text(
|
||||
'source_checked_on',
|
||||
|
||||
Reference in New Issue
Block a user