diff --git a/packages/dm-core-plugins/src/header/components/UserInfoDialog.tsx b/packages/dm-core-plugins/src/header/components/UserInfoDialog.tsx index 24363a8d9..f2ce0ffea 100644 --- a/packages/dm-core-plugins/src/header/components/UserInfoDialog.tsx +++ b/packages/dm-core-plugins/src/header/components/UserInfoDialog.tsx @@ -59,7 +59,10 @@ export const UserInfoDialog = (props: UserInfoDialogProps) => { setIsOpen(false)} + onClose={() => { + setSelectedRole(role) + setIsOpen(false) + }} width={'720px'} > @@ -67,6 +70,7 @@ export const UserInfoDialog = (props: UserInfoDialogProps) => {