diff --git a/src/components/dashboard/ProfilePage.tsx b/src/components/dashboard/ProfilePage.tsx index a9b7f55..1cb50c1 100644 --- a/src/components/dashboard/ProfilePage.tsx +++ b/src/components/dashboard/ProfilePage.tsx @@ -1330,7 +1330,13 @@ export default function ProfilePage(props: Props) { - Complete all required fields to submit + {(() => { + const parts: string[] = []; + if (missingBasicLabels().length) parts.push(missingBasicLabels().join(", ")); + if (missingDocLabels().length) parts.push(missingDocLabels().join(", ")); + if (missingPortfolioLabels().length) parts.push(`${missingPortfolioLabels().join(", ")} (in My Portfolio)`); + return parts.length ? `Missing: ${parts.join("; ")}` : "Complete all required fields to submit"; + })()}