mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-08 04:55:17 +00:00
refactor: remove sort level column
This commit is contained in:
@@ -26,15 +26,7 @@ export const columns: ColumnDef<LogEntry>[] = [
|
||||
{
|
||||
accessorKey: "level",
|
||||
header: ({ column }) => {
|
||||
return (
|
||||
<Button
|
||||
variant="ghost"
|
||||
onClick={() => column.toggleSorting(column.getIsSorted() === "asc")}
|
||||
>
|
||||
Level
|
||||
<ArrowUpDown className="ml-2 h-4 w-4" />
|
||||
</Button>
|
||||
);
|
||||
return <Button variant="ghost">Level</Button>;
|
||||
},
|
||||
cell: ({ row }) => {
|
||||
return <div>{row.original.level}</div>;
|
||||
|
||||
Reference in New Issue
Block a user