diff --git a/packages/diracx-web-components/components/DashboardLayout/ProfileButton.tsx b/packages/diracx-web-components/components/DashboardLayout/ProfileButton.tsx index 1dfd752..f6b5531 100644 --- a/packages/diracx-web-components/components/DashboardLayout/ProfileButton.tsx +++ b/packages/diracx-web-components/components/DashboardLayout/ProfileButton.tsx @@ -13,6 +13,7 @@ import { AccordionDetails, AccordionSummary, Avatar, + Box, Button, Chip, Divider, @@ -116,61 +117,59 @@ export function ProfileButton() { transformOrigin={{ horizontal: "right", vertical: "top" }} anchorOrigin={{ horizontal: "right", vertical: "bottom" }} > - - - - - - - - - - - - - - - - -
- - - - - {accessTokenPayload["preferred_username"]} -
- - - - - {accessTokenPayload["dirac_group"]} -
- - - - - {accessTokenPayload["vo"]} -
-
- - - } - aria-controls="panel1a-content" - id="panel1a-header" - > - Properties - - - - {accessTokenPayload["dirac_properties"]?.map( - (property: string, index: number) => ( - - ), - )} - - - + + + + + + + + {accessTokenPayload["preferred_username"]} + + + + + + + + + + + + {accessTokenPayload["dirac_group"]} + + + + + + + + + {accessTokenPayload["vo"]} + + + + + + + } + aria-controls="panel1a-content" + id="panel1a-header" + > + Properties + + + + {accessTokenPayload["dirac_properties"]?.map( + (property: string, index: number) => ( + + ), + )} + + + +