diff --git a/app/react/components/datatables/ColumnVisibilityMenu.tsx b/app/react/components/datatables/ColumnVisibilityMenu.tsx index 7feba3520..ca362cdfa 100644 --- a/app/react/components/datatables/ColumnVisibilityMenu.tsx +++ b/app/react/components/datatables/ColumnVisibilityMenu.tsx @@ -1,3 +1,4 @@ +import _ from 'lodash'; import clsx from 'clsx'; import { Menu, MenuButton, MenuList } from '@reach/menu-button'; import { Columns } from 'lucide-react'; @@ -44,7 +45,7 @@ export function ColumnVisibilityMenu({ label={ typeof column.columnDef.header === 'string' ? column.columnDef.header - : '' + : _.capitalize(column.columnDef.id) } id={`visibility_${column.id}`} onChange={(e) => diff --git a/app/react/components/datatables/select-column.tsx b/app/react/components/datatables/select-column.tsx index 0eae69993..dbc2184de 100644 --- a/app/react/components/datatables/select-column.tsx +++ b/app/react/components/datatables/select-column.tsx @@ -40,6 +40,7 @@ export function createSelectColumn(): ColumnDef { }} /> ), + enableHiding: false, meta: { width: 50, },