From 9da9d781870c57743a6abd0d1f57c8b5ccb493aa Mon Sep 17 00:00:00 2001 From: psiddharthdesign <107192927+psiddharthdesign@users.noreply.github.com> Date: Wed, 31 Jul 2024 19:55:33 +0530 Subject: [PATCH] minor fixes --- .../team/[teamId]/(specific-team-pages)/page.tsx | 4 +++- .../[projectSlug]/(specific-project-pages)/layout.tsx | 2 +- .../project/[projectSlug]/@sidebar/ProjectSidebar.tsx | 7 ++++++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/app/(dynamic-pages)/(authenticated-pages)/(application-pages)/org/[organizationId]/team/[teamId]/(specific-team-pages)/page.tsx b/src/app/(dynamic-pages)/(authenticated-pages)/(application-pages)/org/[organizationId]/team/[teamId]/(specific-team-pages)/page.tsx index ee699a8a..527ade15 100644 --- a/src/app/(dynamic-pages)/(authenticated-pages)/(application-pages)/org/[organizationId]/team/[teamId]/(specific-team-pages)/page.tsx +++ b/src/app/(dynamic-pages)/(authenticated-pages)/(application-pages)/org/[organizationId]/team/[teamId]/(specific-team-pages)/page.tsx @@ -3,6 +3,7 @@ import { PageHeading } from '@/components/PageHeading'; import { Search } from '@/components/Search'; import { Button } from '@/components/ui/button'; import { T } from '@/components/ui/Typography'; +import { getSlimTeamById } from '@/data/user/teams'; import { projectsfilterSchema } from '@/utils/zod-schemas/params'; import { Plus } from 'lucide-react'; import Link from 'next/link'; @@ -27,10 +28,11 @@ export default async function TeamPage({ const parsedParams = paramsSchema.parse(params); const filters = projectsfilterSchema.parse(searchParams); const { teamId, organizationId } = parsedParams; + const { name } = await getSlimTeamById(teamId); return (