File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -616,7 +616,7 @@ export const IssueList = ({
616616 < span > { new Date ( post . due_date ) . toLocaleDateString ( ) } </ span >
617617 </ div >
618618 ) }
619- { post . sub_issue_count && post . sub_issue_count > 0 && (
619+ { ( post . sub_issue_count ?? 0 ) > 0 && (
620620 < div className = "flex items-center space-x-1" >
621621 < GitBranch className = "h-3 w-3" />
622622 < span > { post . sub_issues_closed_count || 0 } /{ post . sub_issue_count } sub-issues</ span >
@@ -730,7 +730,7 @@ export const IssueList = ({
730730 </ div >
731731 </ div >
732732
733- { ( post . assignee || post . story_points || post . due_date || ( post . sub_issue_count && post . sub_issue_count > 0 ) ) && (
733+ { ( post . assignee || post . story_points || post . due_date || ( post . sub_issue_count ?? 0 ) > 0 ) && (
734734 < div
735735 className = "flex items-center justify-between text-xs text-muted-foreground pt-2 border-t border-border/50" >
736736 < div className = "flex items-center space-x-2" >
@@ -747,7 +747,7 @@ export const IssueList = ({
747747 < span > { post . story_points } </ span >
748748 </ div >
749749 ) }
750- { post . sub_issue_count && post . sub_issue_count > 0 && (
750+ { ( post . sub_issue_count ?? 0 ) > 0 && (
751751 < div className = "flex items-center space-x-1" >
752752 < GitBranch className = "h-3 w-3" />
753753 < span
You can’t perform that action at this time.
0 commit comments