diff --git a/webui/src/components/CurrentIdentity/CurrentIdentity.tsx b/webui/src/components/CurrentIdentity/CurrentIdentity.tsx
index 2921e2bf87ca00a890cb56b0b4c64711601c1e1d..bec8d14fa5820586e25ff82f33dbfc074ad70fc5 100644
--- a/webui/src/components/CurrentIdentity/CurrentIdentity.tsx
+++ b/webui/src/components/CurrentIdentity/CurrentIdentity.tsx
@@ -11,6 +11,7 @@ import {
} from '@material-ui/core';
import Avatar from '@material-ui/core/Avatar';
import { makeStyles } from '@material-ui/core/styles';
+import LockIcon from '@material-ui/icons/Lock';
import { useCurrentIdentityQuery } from './CurrentIdentity.generated';
@@ -18,6 +19,9 @@ const useStyles = makeStyles((theme) => ({
displayName: {
marginLeft: theme.spacing(2),
},
+ hidden: {
+ display: 'none',
+ },
}));
const CurrentIdentity = () => {
@@ -30,6 +34,7 @@ const CurrentIdentity = () => {
if (error || loading || !data?.repository?.userIdentity) return null;
const user = data.repository.userIdentity;
+
const handleToggle = () => {
setOpen((prevOpen) => !prevOpen);
};
@@ -53,6 +58,7 @@ const CurrentIdentity = () => {
{user.displayName.charAt(0).toUpperCase()}
+
{
-