|
|
|
|
@ -38,7 +38,7 @@ const UserAccount = () => { |
|
|
|
|
usePageLogger(PAGES.useraccount) |
|
|
|
|
useLexicsConfig(userAccountLexics) |
|
|
|
|
|
|
|
|
|
const isGetHighLightShown = useMemo(() => { |
|
|
|
|
const isAvailableToClient = useMemo(() => { |
|
|
|
|
switch (client.name) { |
|
|
|
|
case ClientNames.Facr: |
|
|
|
|
return false |
|
|
|
|
@ -76,15 +76,17 @@ const UserAccount = () => { |
|
|
|
|
> |
|
|
|
|
<T9n t='my_devices' /> |
|
|
|
|
</StyledLink> |
|
|
|
|
<StyledLink |
|
|
|
|
target='_blank' |
|
|
|
|
to={{ pathname: PAGES.about_the_project }} |
|
|
|
|
> |
|
|
|
|
<T9n t='about_the_project' /> |
|
|
|
|
</StyledLink> |
|
|
|
|
{isAvailableToClient && ( |
|
|
|
|
<StyledLink |
|
|
|
|
target='_blank' |
|
|
|
|
to={{ pathname: PAGES.about_the_project }} |
|
|
|
|
> |
|
|
|
|
<T9n t='about_the_project' /> |
|
|
|
|
</StyledLink> |
|
|
|
|
)} |
|
|
|
|
|
|
|
|
|
<ScoreSwitch /> |
|
|
|
|
{isGetHighLightShown && ( |
|
|
|
|
{isAvailableToClient && ( |
|
|
|
|
<Link to={`${PAGES.highlights}`}> |
|
|
|
|
<ScButtonGetHighlight> |
|
|
|
|
<T9n t='get_highlights' /> |
|
|
|
|
|