feat(company-profile): Branchen-Erweiterung, Multi-Select & Zertifizierungen
Multi-Branche-Auswahl im CompanyProfile, erweiterte allowed-facts fuer Drafting Engine, Demo-Daten und TOM-Generator Anpassungen. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -34,7 +34,7 @@ export function buildAllowedFactsFromDraftContext(
|
||||
return {
|
||||
companyName: profile.name || 'Unbekannt',
|
||||
legalForm: '', // Nicht im DraftContext enthalten
|
||||
industry: profile.industry || '',
|
||||
industry: Array.isArray(profile.industry) ? profile.industry.join(', ') : (profile.industry || ''),
|
||||
location: '', // Nicht im DraftContext enthalten
|
||||
employeeCount: profile.employeeCount || 0,
|
||||
|
||||
|
||||
@@ -97,7 +97,7 @@ export function buildAllowedFacts(
|
||||
return {
|
||||
companyName: profile?.companyName ?? 'Unbekannt',
|
||||
legalForm: profile?.legalForm ?? '',
|
||||
industry: profile?.industry ?? '',
|
||||
industry: Array.isArray(profile?.industry) ? profile.industry.join(', ') : (profile?.industry ?? ''),
|
||||
location: profile?.headquartersCity ?? '',
|
||||
employeeCount: parseEmployeeCount(profile?.employeeCount),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user