mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
chore: update the label of the app sidebar dashboard to home (#3912)
This commit is contained in:
parent
b07fec533c
commit
e05bc3965c
@ -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" && (
|
{!themeStore?.sidebarCollapsed && link.key === "active-cycles" && (
|
||||||
<Crown className="h-3.5 w-3.5 text-amber-400" />
|
<Crown className="h-3.5 w-3.5 text-amber-400" />
|
||||||
)}
|
)}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { linearGradientDef } from "@nivo/core";
|
import { linearGradientDef } from "@nivo/core";
|
||||||
// assets
|
// assets
|
||||||
import { BarChart2, Briefcase, CheckCircle, LayoutGrid } from "lucide-react";
|
import { BarChart2, Briefcase, CheckCircle, Home } from "lucide-react";
|
||||||
import { ContrastIcon } from "@plane/ui";
|
import { ContrastIcon } from "@plane/ui";
|
||||||
import { Props } from "components/icons/types";
|
import { Props } from "components/icons/types";
|
||||||
import CompletedIssuesDark from "public/empty-state/dashboard/dark/completed-issues.svg";
|
import CompletedIssuesDark from "public/empty-state/dashboard/dark/completed-issues.svg";
|
||||||
@ -257,12 +257,12 @@ export const SIDEBAR_MENU_ITEMS: {
|
|||||||
Icon: React.FC<Props>;
|
Icon: React.FC<Props>;
|
||||||
}[] = [
|
}[] = [
|
||||||
{
|
{
|
||||||
key: "dashboard",
|
key: "home",
|
||||||
label: "Dashboard",
|
label: "Home",
|
||||||
href: ``,
|
href: ``,
|
||||||
access: EUserWorkspaceRoles.GUEST,
|
access: EUserWorkspaceRoles.GUEST,
|
||||||
highlight: (pathname: string, baseUrl: string) => pathname === `${baseUrl}`,
|
highlight: (pathname: string, baseUrl: string) => pathname === `${baseUrl}`,
|
||||||
Icon: LayoutGrid,
|
Icon: Home,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "analytics",
|
key: "analytics",
|
||||||
|
Loading…
Reference in New Issue
Block a user