don't show table if there are no issues

This commit is contained in:
Oliver Bryan
2025-12-14 20:53:39 +00:00
parent af0112c6e7
commit df73b0f5ea

View File

@@ -10,6 +10,7 @@ export function IssuesTable({
columns?: { id?: boolean; title?: boolean; description?: boolean; assignee?: boolean }; columns?: { id?: boolean; title?: boolean; description?: boolean; assignee?: boolean };
issueSelectAction?: (issue: IssueRecord) => void; issueSelectAction?: (issue: IssueRecord) => void;
}) { }) {
if (issues.length === 0) return;
return ( return (
<Table> <Table>
<TableHeader> <TableHeader>