chore: update the label of the app sidebar dashboard to home (#3912)

This commit is contained in:
Anmol Singh Bhatia 2024-03-08 17:59:02 +05:30 committed by GitHub
parent b07fec533c
commit e05bc3965c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View File

@ -65,7 +65,7 @@ export const WorkspaceSidebarMenu = observer(() => {
})}
/>
}
{!themeStore?.sidebarCollapsed && link.label}
<p className="leading-5">{!themeStore?.sidebarCollapsed && link.label}</p>
{!themeStore?.sidebarCollapsed && link.key === "active-cycles" && (
<Crown className="h-3.5 w-3.5 text-amber-400" />
)}

View File

@ -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<Props>;
}[] = [
{
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",