diff --git a/packages/frontend/src/components/issues-table.tsx b/packages/frontend/src/components/issues-table.tsx index 65cde89..79d5c41 100644 --- a/packages/frontend/src/components/issues-table.tsx +++ b/packages/frontend/src/components/issues-table.tsx @@ -3,7 +3,6 @@ import Avatar from "@/components/avatar"; import { useSelection } from "@/components/selection-provider"; import StatusTag from "@/components/status-tag"; import Icon, { type IconName } from "@/components/ui/icon"; -import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@/components/ui/table"; import { useIssues, useSelectedOrganisation, useSelectedProject } from "@/lib/query/hooks"; import { cn } from "@/lib/utils"; @@ -155,144 +154,149 @@ export function IssuesTable({ const showAssignee = columns.assignee == null || columns.assignee === true; return ( -
| + ID + | + )} + {showTitle && ( +Title | + )} + {showDescription && ( ++ Description + | + )} + {showAssignee &&} + |
|---|---|---|---|
|
- {issueData.Issue.number.toString().padStart(3, "0")}
-
-
- )}
- {showTitle && (
- |
+ )}
+ {showTitle && (
+
- {selectedOrganisation?.Organisation.features.issueTypes &&
- issueTypes[issueData.Issue.type] && (
- |
+ )}
+ {showDescription && (
+
- {issueData.Issue.description}
-
-
- )}
- {showAssignee && (
- |
+ )}
+ {showAssignee && (
+
- {selectedOrganisation?.Organisation.features.issueAssigneesShownInTable &&
- issueData.Assignees &&
- issueData.Assignees.length > 0 && (
-
- {issueData.Assignees.slice(0, 3).map((assignee) => (
-
- )}
-
-
- )}
-
- );
- })}
-
- |