diff --git a/eiam-console/src/main/console-fe/src/pages/account/UserList/components/User/User.tsx b/eiam-console/src/main/console-fe/src/pages/account/UserList/components/User/User.tsx index 40db28ee..dbb73d48 100644 --- a/eiam-console/src/main/console-fe/src/pages/account/UserList/components/User/User.tsx +++ b/eiam-console/src/main/console-fe/src/pages/account/UserList/components/User/User.tsx @@ -39,7 +39,6 @@ import { Table, Tooltip, Typography, - Tag, Popover, } from 'antd'; import React, { useRef, useState } from 'react'; @@ -185,46 +184,34 @@ export default (props: UserListProps) => { search: false, ellipsis: true, render: (_, record) => { - console.log(record.primaryOrgDisplayPath); return ( - {record.primaryOrgDisplayPath} - - ) - } + title={intl.formatMessage({ + id: 'pages.account.user_list.user.columns.org_display_path', + })} content={ - - {record.orgDisplayPath?.split(',')?.map((p: string) => { - return ( - - {p} - - ); - })} - + <> + {record.primaryOrgDisplayPath && ( + {record.primaryOrgDisplayPath} + )} + {record.orgDisplayPath && ( + + {record.orgDisplayPath?.split(',')?.map((p: string) => { + return p; + })} + + )} + } > {record.primaryOrgDisplayPath && ( - - { - - {record.primaryOrgDisplayPath} - - } - + {record.primaryOrgDisplayPath} )} {record.orgDisplayPath && ( {record.orgDisplayPath?.split(',')?.map((p: string) => { - return ( - - {p} - - ); + return p; })} )}