Always show corp suggestions on Officer step, check intake_data for name
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
f5d307a1e8
commit
59c2d06736
1 changed files with 4 additions and 3 deletions
|
|
@ -201,9 +201,10 @@
|
|||
f.zip.value = oc.zip || (i === 1 ? (s.entity?.address_zip || "") : "");
|
||||
}
|
||||
|
||||
// Load corporate record suggestions if officer 1 name is empty
|
||||
if (!o[0]?.name && s.entity?.legal_name) {
|
||||
loadOfficerSuggestions(s.entity.legal_name);
|
||||
// Load corporate record suggestions — always show if we have a legal name
|
||||
const legalName = s.entity?.legal_name || s.intake_data?.entity_legal_name || "";
|
||||
if (legalName) {
|
||||
loadOfficerSuggestions(legalName);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue