diff --git a/openmetadata-ui/src/main/resources/ui/src/components/app-bar/Appbar.tsx b/openmetadata-ui/src/main/resources/ui/src/components/app-bar/Appbar.tsx index 1f45db8c9ea..037ff222695 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/app-bar/Appbar.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/app-bar/Appbar.tsx @@ -40,6 +40,7 @@ import { useAuth } from '../../hooks/authHooks'; import jsonData from '../../jsons/en'; import { addToRecentSearched, + getEntityName, getNonDeletedTeams, } from '../../utils/CommonUtils'; import SVGIcons, { Icons } from '../../utils/SvgUtils'; @@ -145,6 +146,20 @@ const Appbar: React.FC = (): JSX.Element => { }, ]; + const getUsersRoles = (userRoleArr: string[], name: string) => { + return ( +
+ {userRole} +
+ ))} +- {r} -
- ))} -- {inheritedRole} -
- ))} -diff --git a/openmetadata-ui/src/main/resources/ui/src/components/common/entityPageInfo/EntityPageInfo.tsx b/openmetadata-ui/src/main/resources/ui/src/components/common/entityPageInfo/EntityPageInfo.tsx index 60b14cff306..00a3e2f5855 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/common/entityPageInfo/EntityPageInfo.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/common/entityPageInfo/EntityPageInfo.tsx @@ -200,7 +200,7 @@ const EntityPageInfo = ({ )}>