From f30b16e9d8e53e7407a7f982f329861a9d2fcb25 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Tue, 7 Nov 2023 15:58:19 +0530 Subject: [PATCH] chore: user profile issue improvement (#2679) * fix: user profile filters z-index * chore: user profile issue state group heading fix * fix: build error --- .../issues/issue-layouts/list/headers/state-group.tsx | 4 +++- web/components/profile/navbar.tsx | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/web/components/issues/issue-layouts/list/headers/state-group.tsx b/web/components/issues/issue-layouts/list/headers/state-group.tsx index 9f6610e5d..c6da02543 100644 --- a/web/components/issues/issue-layouts/list/headers/state-group.tsx +++ b/web/components/issues/issue-layouts/list/headers/state-group.tsx @@ -4,6 +4,8 @@ import { observer } from "mobx-react-lite"; import { HeaderGroupByCard } from "./group-by-card"; // ui import { StateGroupIcon } from "@plane/ui"; +// helpers +import { capitalizeFirstLetter } from "helpers/string.helper"; export interface IStateGroupHeader { column_id: string; @@ -27,7 +29,7 @@ export const StateGroupHeader: FC = observer((props) => { {stateGroup && ( } - title={stateGroup?.key || ""} + title={capitalizeFirstLetter(stateGroup?.key) || ""} count={issues_count} issuePayload={{}} /> diff --git a/web/components/profile/navbar.tsx b/web/components/profile/navbar.tsx index a1f57e6b5..d6d31bd19 100644 --- a/web/components/profile/navbar.tsx +++ b/web/components/profile/navbar.tsx @@ -46,7 +46,7 @@ export const ProfileNavbar: React.FC = (props) => { const tabsList = isAuthorized ? [...viewerTabs, ...adminTabs] : viewerTabs; return ( -
+
{tabsList.map((tab) => (