From e05bc3965c6641509d7cafb8875137ac410bcc23 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Fri, 8 Mar 2024 17:59:02 +0530 Subject: [PATCH] chore: update the label of the app sidebar dashboard to home (#3912) --- web/components/workspace/sidebar-menu.tsx | 2 +- web/constants/dashboard.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/web/components/workspace/sidebar-menu.tsx b/web/components/workspace/sidebar-menu.tsx index 2069d8f27..2da7cd406 100644 --- a/web/components/workspace/sidebar-menu.tsx +++ b/web/components/workspace/sidebar-menu.tsx @@ -65,7 +65,7 @@ export const WorkspaceSidebarMenu = observer(() => { })} /> } - {!themeStore?.sidebarCollapsed && link.label} +

{!themeStore?.sidebarCollapsed && link.label}

{!themeStore?.sidebarCollapsed && link.key === "active-cycles" && ( )} diff --git a/web/constants/dashboard.ts b/web/constants/dashboard.ts index 3d99a4679..58985935f 100644 --- a/web/constants/dashboard.ts +++ b/web/constants/dashboard.ts @@ -1,6 +1,6 @@ import { linearGradientDef } from "@nivo/core"; // assets -import { BarChart2, Briefcase, CheckCircle, LayoutGrid } from "lucide-react"; +import { BarChart2, Briefcase, CheckCircle, Home } from "lucide-react"; import { ContrastIcon } from "@plane/ui"; import { Props } from "components/icons/types"; import CompletedIssuesDark from "public/empty-state/dashboard/dark/completed-issues.svg"; @@ -257,12 +257,12 @@ export const SIDEBAR_MENU_ITEMS: { Icon: React.FC; }[] = [ { - key: "dashboard", - label: "Dashboard", + key: "home", + label: "Home", href: ``, access: EUserWorkspaceRoles.GUEST, highlight: (pathname: string, baseUrl: string) => pathname === `${baseUrl}`, - Icon: LayoutGrid, + Icon: Home, }, { key: "analytics",