diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/header.tsx index b9e6c8a5907..e4c68d0642c 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/header.tsx @@ -1,10 +1,12 @@ import { observer } from "mobx-react"; import { useParams } from "next/navigation"; -// hooks +// plane imports import { Header, Row } from "@plane/ui"; +// components import { AppHeader } from "@/components/core/app-header"; import { TabNavigationRoot } from "@/components/navigation"; import { useIssueDetail } from "@/hooks/store/use-issue-detail"; +import { useProjectNavigationPreferences } from "@/hooks/use-navigation-preferences"; // local components import { WorkItemDetailsHeader } from "./work-item-header"; @@ -18,25 +20,29 @@ export const ProjectWorkItemDetailsHeader = observer(function ProjectWorkItemDet // derived values const issueId = getIssueIdByIdentifier(workItem?.toString()); const issueDetails = issueId ? getIssueById(issueId?.toString()) : undefined; + // preferences + const { preferences: projectPreferences } = useProjectNavigationPreferences(); return ( <> -
- -
-
-
- - - -
+ {projectPreferences.navigationMode === "horizontal" && ( +
+ +
+
+
+ + + +
+
-
- -
+ +
+ )} } /> ); diff --git a/apps/web/ce/components/navigations/top-navigation-root.tsx b/apps/web/ce/components/navigations/top-navigation-root.tsx index c7ebd0ed5b1..448fa2599c5 100644 --- a/apps/web/ce/components/navigations/top-navigation-root.tsx +++ b/apps/web/ce/components/navigations/top-navigation-root.tsx @@ -15,7 +15,6 @@ export const TopNavigationRoot = observer(() => { return (
diff --git a/apps/web/core/components/home/root.tsx b/apps/web/core/components/home/root.tsx index b0d4b32f995..8274306289d 100644 --- a/apps/web/core/components/home/root.tsx +++ b/apps/web/core/components/home/root.tsx @@ -4,7 +4,6 @@ import useSWR from "swr"; // plane imports import { PRODUCT_TOUR_TRACKER_EVENTS } from "@plane/constants"; import { ContentWrapper } from "@plane/ui"; -import { cn } from "@plane/utils"; // components import { TourRoot } from "@/components/onboarding/tour"; // helpers @@ -60,7 +59,7 @@ export const WorkspaceHomeView = observer(function WorkspaceHomeView() { )} <> - +
{currentUser && }