diff --git a/src/FetchRequest/FetchRequestCreate.tsx b/src/FetchRequest/FetchRequestCreate.tsx index c2aa37c..2a944b6 100644 --- a/src/FetchRequest/FetchRequestCreate.tsx +++ b/src/FetchRequest/FetchRequestCreate.tsx @@ -130,22 +130,38 @@ function FetchRequestList() { })} onClick={() => navigate(`/fetch-requests/${row.id}`)} > - - {columns.map((col) => ( - - - {col.label} - - r.name === col.fk!.resource)?.displayFormat ?? displayFormat) - : displayFormat} - /> - - ))} - + + + {columns + .filter((col) => col.name !== "created_at") + .map((col) => ( + + + {col.label} + + r.name === col.fk!.resource)?.displayFormat ?? displayFormat) + : displayFormat} + /> + + ))} + + {(() => { + const dateCol = columns.find((col) => col.name === "created_at"); + if (!dateCol) return null; + return ( + + + {dateCol.label} + + + + ); + })()} + - + {report.name || report.id}