Skip to content

Commit

Permalink
Added tags to application table
Browse files Browse the repository at this point in the history
  • Loading branch information
1 parent bcc0484 commit d935937
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/data/admin/applications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import { ColumnDef } from "@tanstack/react-table";
import { Checkbox } from "@/components/ui/checkbox";
import Tag from "@/components/global/tag";

export type Applications = {
id: string;
Expand Down Expand Up @@ -54,6 +55,13 @@ export const columns: ColumnDef<Applications>[] = [
{
accessorKey: "status",
header: "status",
cell: ({ row }) => {
return (
<div className="h-full w-2/3">
<Tag children={row.getValue("status")} />
</div>
);
},
},
];

Expand Down

0 comments on commit d935937

Please sign in to comment.