chore: remove active cycle link from dashboard sidebar. (#3423)

This commit is contained in:
Prateek Shourya 2024-01-22 15:27:49 +05:30 committed by GitHub
parent 4eba5c115a
commit be62662bb1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,7 +18,7 @@ import { Props } from "components/icons/types";
// constants // constants
import { EUserWorkspaceRoles } from "./workspace"; import { EUserWorkspaceRoles } from "./workspace";
// icons // icons
import { BarChart2, Briefcase, CheckCircle, LayoutGrid, SendToBack } from "lucide-react"; import { BarChart2, Briefcase, CheckCircle, LayoutGrid } from "lucide-react";
// gradients for issues by priority widget graph bars // gradients for issues by priority widget graph bars
export const PRIORITY_GRAPH_GRADIENTS = [ export const PRIORITY_GRAPH_GRADIENTS = [
@ -292,12 +292,4 @@ export const SIDEBAR_MENU_ITEMS: {
highlight: (pathname: string, baseUrl: string) => pathname === `${baseUrl}/workspace-views/all-issues`, highlight: (pathname: string, baseUrl: string) => pathname === `${baseUrl}/workspace-views/all-issues`,
Icon: CheckCircle, Icon: CheckCircle,
}, },
{
key: "active-cycles",
label: "Active cycles",
href: `/active-cycles`,
access: EUserWorkspaceRoles.GUEST,
highlight: (pathname: string, baseUrl: string) => pathname === `${baseUrl}/active-cycles`,
Icon: SendToBack,
},
]; ];