mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-06 10:46:38 +00:00
💄 show action on the right of the column
This commit is contained in:
@@ -158,22 +158,24 @@ 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">
|
||||||
<Link
|
<Button
|
||||||
href={`/${orgId}/settings/blueprints/${row.original.blueprintId}`}
|
variant="outline"
|
||||||
|
className="items-center"
|
||||||
|
asChild
|
||||||
>
|
>
|
||||||
View details{" "}
|
<Link
|
||||||
<ArrowRight className="size-4 flex-none" />
|
href={`/${orgId}/settings/blueprints/${row.original.blueprintId}`}
|
||||||
</Link>
|
>
|
||||||
</Button>
|
View details{" "}
|
||||||
|
<ArrowRight className="size-4 flex-none" />
|
||||||
|
</Link>
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user