diff --git a/web/src/app/page.tsx b/web/src/app/page.tsx index 4201fa4..586f2fb 100644 --- a/web/src/app/page.tsx +++ b/web/src/app/page.tsx @@ -768,33 +768,6 @@ function TicketWorkbenchContent() { > - {colPickerOpen && ( - <> -
setColPickerOpen(false)} /> -
- {availableColumns.map((col) => { - const isVisible = columns.find((c) => c.key === col.key)?.visible ?? col.visible; - return ( - - ); - })} -
- - )}
@@ -893,15 +866,6 @@ function TicketWorkbenchContent() {
-
- Ticket - Subject - Queue - Status - Updated - -
- {filteredTickets.length === 0 ? (
@@ -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 + )}
); }