💄 show action on the right of the column

This commit is contained in:
Fred KISSIE
2025-10-30 00:21:59 +01:00
parent 5a61040027
commit 77364488c2

View File

@@ -158,15 +158,16 @@ export default function BlueprintsTable({ blueprints, orgId }: Props) {
{ {
id: "actions", id: "actions",
header: () => { header: () => {
return ( return null;
<span className="text-muted-foreground p-3">
{t("actions")}
</span>
);
}, },
cell: ({ row }) => { cell: ({ row }) => {
return ( return (
<Button variant="outline" className="items-center" asChild> <div className="flex justify-end">
<Button
variant="outline"
className="items-center"
asChild
>
<Link <Link
href={`/${orgId}/settings/blueprints/${row.original.blueprintId}`} href={`/${orgId}/settings/blueprints/${row.original.blueprintId}`}
> >
@@ -174,6 +175,7 @@ export default function BlueprintsTable({ blueprints, orgId }: Props) {
<ArrowRight className="size-4 flex-none" /> <ArrowRight className="size-4 flex-none" />
</Link> </Link>
</Button> </Button>
</div>
); );
} }
} }