feat: add server-side table sorting
This commit is contained in:
@@ -65,6 +65,7 @@ export function usePlanColumns({
|
||||
{
|
||||
id: 'limits',
|
||||
header: 'Limits',
|
||||
enableSorting: false,
|
||||
cell: ({ row }) => (
|
||||
<div className="text-xs text-muted-foreground">
|
||||
<p>{row.original.max_projects} projects</p>
|
||||
@@ -96,6 +97,7 @@ export function usePlanColumns({
|
||||
columns.push({
|
||||
id: 'actions',
|
||||
header: () => <div className="text-right">Actions</div>,
|
||||
enableSorting: false,
|
||||
cell: ({ row }) => {
|
||||
const plan = row.original;
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user