diff --git a/package.json b/package.json index b16594a..5ab65ef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@indec/react-commons", - "version": "5.4.0", + "version": "5.4.1", "description": "Common reactjs components for apps", "private": false, "main": "index.js", diff --git a/src/components/Header/UserMenu/UserMenu.js b/src/components/Header/UserMenu/UserMenu.js index 75c9575..87507de 100644 --- a/src/components/Header/UserMenu/UserMenu.js +++ b/src/components/Header/UserMenu/UserMenu.js @@ -6,7 +6,7 @@ import { } from '@chakra-ui/react'; const UserMenu = ({user, attributes, onLogout}) => ( - + {(user.name && user.surname) && (