import { FC } from "react"; // components import { IssueBlock } from "components/issues"; // types import { IIssue, IIssueDisplayProperties } from "types"; import { IIssueResponse, IGroupedIssues, TUnGroupedIssues } from "store/issues/types"; import { EIssueActions } from "../types"; interface Props { columnId: string; issueIds: IGroupedIssues | TUnGroupedIssues | any; issues: IIssueResponse; canEditProperties: (projectId: string | undefined) => boolean; handleIssues: (issue: IIssue, action: EIssueActions) => void; quickActions: (group_by: string | null, issue: IIssue) => React.ReactNode; displayProperties: IIssueDisplayProperties | undefined; } export const IssueBlocksList: FC = (props) => { const { columnId, issueIds, issues, handleIssues, quickActions, displayProperties, canEditProperties } = props; return (
{issueIds && issueIds.length > 0 ? ( issueIds.map( (issueId: string) => issueId != undefined && issues[issueId] && ( ) ) ) : (
No issues
)}
); };