@@ -923,7 +887,6 @@ function TicketWorkbenchContent() {
"sticky top-0 z-10 flex border-b border-border bg-muted/70",
density === "compact" ? "min-h-8" : "min-h-9"
)}
- style={{ width: availableColumns.filter((c) => c.visible).reduce((sum, c) => sum + c.width, 96), minWidth: "100%" }}
>
{availableColumns.filter((c) => c.visible).map((col) => (
c.visible).reduce((sum, c) => sum + c.width, 96) + 36, minWidth: "100%" }}
>
{/* Checkbox */}
e.stopPropagation()}>
@@ -1523,6 +1485,37 @@ function TicketWorkbenchContent() {
>,
document.body
)}
+
+ {typeof document !== "undefined" && colPickerOpen && createPortal(
+ <>
+ setColPickerOpen(false)} />
+
+ {availableColumns.map((col) => {
+ const isVisible = columns.find((c) => c.key === col.key)?.visible ?? col.visible;
+ return (
+
+ );
+ })}
+
+ >,
+ document.body
+ )}
);
}