diff --git a/src/components/RunList/index.tsx b/src/components/RunList/index.tsx index da5dedd..19748ab 100644 --- a/src/components/RunList/index.tsx +++ b/src/components/RunList/index.tsx @@ -324,25 +324,39 @@ export default function RunList(props: RunListProps) { if ( category ) return { className: category }; return {}; }, + renderTopToolbarCustomActions: ({ table }) => ( + + (filter.value ? count + 1 : count), 0)} + > + + + + ), ...tableOptions, }); if (query.isError) return null; return ( -
- +
- (filter.value ? count + 1 : count), 0)} - > - - + + { table.getState().columnFilters.map((column) => { + let filterValue = column.value; + if (column.id == "scheduled") { + const parsedDate = new Date(column.value as string); + filterValue = (parsedDate.toISOString().split('T')[0]) + } + return (column.value ? `${column.id}: '${filterValue}' ` : "") + } )} + -
- -
+
+ + ) }