|
@@ -23,7 +23,7 @@ export type SiteRow = {
|
|
|
|
|
|
export const columns: ColumnDef<SiteRow>[] = [
|
|
|
{
|
|
|
- accessorKey: "id",
|
|
|
+ accessorKey: "name",
|
|
|
header: ({ column }) => {
|
|
|
return (
|
|
|
<Button
|
|
@@ -32,14 +32,14 @@ export const columns: ColumnDef<SiteRow>[] = [
|
|
|
column.toggleSorting(column.getIsSorted() === "asc")
|
|
|
}
|
|
|
>
|
|
|
- Site
|
|
|
+ Name
|
|
|
<ArrowUpDown className="ml-2 h-4 w-4" />
|
|
|
</Button>
|
|
|
);
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- accessorKey: "name",
|
|
|
+ accessorKey: "id",
|
|
|
header: ({ column }) => {
|
|
|
return (
|
|
|
<Button
|
|
@@ -48,7 +48,7 @@ export const columns: ColumnDef<SiteRow>[] = [
|
|
|
column.toggleSorting(column.getIsSorted() === "asc")
|
|
|
}
|
|
|
>
|
|
|
- Name
|
|
|
+ Site
|
|
|
<ArrowUpDown className="ml-2 h-4 w-4" />
|
|
|
</Button>
|
|
|
);
|