Skip to content

Commit

Permalink
Merge pull request #2223 from djnunez-aot/grid-fix
Browse files Browse the repository at this point in the history
Reorder work staff columns
  • Loading branch information
jadmsaadaot authored May 9, 2024
2 parents b220784 + 3e54559 commit 4b8821a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions epictrack-web/src/components/work/workStaff/WorkStaffList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,6 @@ const WorkStaffList = () => {

const columns = React.useMemo<MRT_ColumnDef<WorkStaff>[]>(
() => [
{
accessorKey: "project.name",
header: "Project",
enableHiding: false,
filterVariant: "multi-select",
filterSelectOptions: projectFilter,
},
{
accessorKey: "title",
header: "Work Title",
Expand All @@ -154,6 +147,13 @@ const WorkStaffList = () => {
);
},
},
{
accessorKey: "project.name",
header: "Project",
enableHiding: false,
filterVariant: "multi-select",
filterSelectOptions: projectFilter,
},
{
accessorFn: (row: WorkStaff) =>
row.responsible_epd
Expand Down

0 comments on commit 4b8821a

Please sign in to comment.