mirror of
https://github.com/hex248/sprint.git
synced 2026-02-08 02:33:01 +00:00
don't show table if there are no issues
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user