diff --git a/catalog-rest-service/src/main/resources/ui/src/pages/teams/index.tsx b/catalog-rest-service/src/main/resources/ui/src/pages/teams/index.tsx index 8afe6d73b69..14cb7175a58 100644 --- a/catalog-rest-service/src/main/resources/ui/src/pages/teams/index.tsx +++ b/catalog-rest-service/src/main/resources/ui/src/pages/teams/index.tsx @@ -37,6 +37,7 @@ import Loader from '../../components/Loader/Loader'; import FormModal from '../../components/Modals/FormModal'; import { ModalWithMarkdownEditor } from '../../components/Modals/ModalWithMarkdownEditor/ModalWithMarkdownEditor'; import { ERROR404 } from '../../constants/constants'; +import { countBackground } from '../../utils/styleconstant'; import SVGIcons from '../../utils/SvgUtils'; import AddUsersModal from './AddUsersModal'; import Form from './Form'; @@ -142,6 +143,16 @@ const TeamsPage = () => { return tab === currentTab ? 'active' : ''; }; + const getCount = (count = 0) => { + return ( + + {count} + + ); + }; + const getTabs = () => { return (
@@ -152,6 +163,7 @@ const TeamsPage = () => { setCurrentTab(1); }}> Users + {getCount(currentTeam?.users.length)}