import { FC } from "react"; // components import { KanBanProperties } from "./properties"; import { IssuePeekOverview } from "components/issues/issue-peek-overview"; // ui import { Tooltip } from "@plane/ui"; interface IssueBlockProps { columnId: string; issues: any; handleIssues?: (group_by: string | null, issue: any) => void; display_properties: any; states: any; labels: any; members: any; priorities: any; } export const IssueBlock: FC = (props) => { const { columnId, issues, handleIssues, display_properties, states, labels, members, priorities } = props; const handleIssue = (_issue: any) => { if (_issue && handleIssues) handleIssues(!columnId && columnId === "null" ? null : columnId, _issue); }; return ( <> {issues && issues?.length > 0 && issues.map((issue: any, index: any) => (
{display_properties && display_properties?.key && (
{issue?.project_detail?.identifier}-{issue.sequence_id}
)}
{issue.name}
))} ); };