Login:Components:CreateUserForm: change fromInviteLink and add new props to ColorTheme

This commit is contained in:
Darya Umrikhina 2024-07-24 17:50:29 +04:00
parent 780252f9f1
commit 8c1db5a64d
2 changed files with 2 additions and 5 deletions

View File

@ -284,10 +284,7 @@ const CreateUserForm = (props: CreateUserFormProps) => {
cultureName: currentCultureName,
};
confirmUser.fromInviteLink =
linkData.type === "LinkInvite" || linkData.type === "EmpInvite"
? true
: false;
confirmUser.fromInviteLink = fromInviteLink;
if (!!type) {
confirmUser.type = type;

View File

@ -78,7 +78,7 @@ export const GreetingUserContainer = ({
}}
portalName={PRODUCT_NAME}
components={{
1: <ColorTheme themeId={ThemeId.Link} isHovered={false} />,
1: <ColorTheme tag="a" themeId={ThemeId.Link} isHovered={false} />,
}}
/>
</Text>