diff --git a/frontend/components/pages/users.tsx b/frontend/components/pages/users.tsx index 7a6904c..884b0f3 100644 --- a/frontend/components/pages/users.tsx +++ b/frontend/components/pages/users.tsx @@ -55,7 +55,7 @@ const PERMISSION_GROUPS = [ { label: "Cook", flag: UserPermissions.Cook }, ] as const -const SORTABLE_COLUMNS = ["full_name", "username", "permissions"] +const SORTABLE_COLUMNS = ["full_name", "username"] function permissionSummary(bits: UserPermissions): string { if (bits.equals(UserPermissions.SuperAdmin)) return "SuperAdmin" @@ -162,9 +162,7 @@ export function UsersPage({ userPerms }: { userPerms: UserPermissions }) { }, { accessorKey: "permissions", - header: ({ column }) => ( - - ), + header: "Permissions", size: 180, cell: ({ row }) => { const permissions = UserPermissions.fromBits( @@ -174,7 +172,6 @@ export function UsersPage({ userPerms }: { userPerms: UserPermissions }) { {permissionSummary(permissions)} ) }, - enableSorting: true, }, { accessorKey: "actions",