π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
fix: work item property icon renderer (#8363)
Aaryan Khandelwalb7621c62ebf4
diff --git a/apps/web/core/components/common/layout/sidebar/property-list-item.tsx b/apps/web/core/components/common/layout/sidebar/property-list-item.tsxindex c518c80326..491c74e6c3 100644--- a/apps/web/core/components/common/layout/sidebar/property-list-item.tsx+++ b/apps/web/core/components/common/layout/sidebar/property-list-item.tsx@@ -2,7 +2,7 @@ import type { ReactNode } from "react";import { cn } from "@plane/utils";type TSidebarPropertyListItemProps = {- icon: React.FC<{ className?: string }> | React.ReactNode;+ icon: React.FC<{ className?: string }>;label: string;children: ReactNode;appendElement?: ReactNode;@@ -15,7 +15,7 @@ export function SidebarPropertyListItem(props: TSidebarPropertyListItemProps) {return (<div className="flex items-center gap-2"><div className="flex shrink-0 items-center gap-1.5 w-30 text-body-xs-regular text-tertiary h-7.5">- {typeof Icon === "function" ? <Icon className="size-4 shrink-0" /> : Icon}+ <Icon className="size-4 shrink-0" /><span>{label}</span>{appendElement}</div>