fix: handled undefined issue_id in list layout

This commit is contained in:
gurusainath 2023-12-08 16:43:58 +05:30
parent 744b198cf5
commit 7dcb449d4b

View File

@ -24,6 +24,7 @@ export const IssueBlocksList: FC<Props> = (props) => {
{issueIds && issueIds.length > 0 ? ( {issueIds && issueIds.length > 0 ? (
issueIds.map( issueIds.map(
(issueId: string) => (issueId: string) =>
issueId != undefined &&
issues[issueId] && ( issues[issueId] && (
<IssueBlock <IssueBlock
key={issues[issueId].id} key={issues[issueId].id}