From fc84726d480a08854aa87eed924a462e3738a62d Mon Sep 17 00:00:00 2001 From: rushtong Date: Tue, 24 Sep 2024 13:13:07 -0400 Subject: [PATCH] feat: add dynamic warning --- src/pages/user_profile/AffiliationAndRoles.jsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pages/user_profile/AffiliationAndRoles.jsx b/src/pages/user_profile/AffiliationAndRoles.jsx index ccbbbb85e..55bca50c4 100644 --- a/src/pages/user_profile/AffiliationAndRoles.jsx +++ b/src/pages/user_profile/AffiliationAndRoles.jsx @@ -208,6 +208,10 @@ export default function AffiliationAndRole(props) { }} >

Institution

+ {!(profile.institutionId) &&
+ Please select an existing Institution. If you don't see your institution listed, please select the Contact + Us link to request that your institution be added. +
}
{generateInstitutionSelectionDisplay()} {formIsValid() ? (