Add the site to the ui and allow picking

This commit is contained in:
Owen
2026-04-21 14:34:28 -07:00
parent 7b3c10c7b0
commit dc299a740b
4 changed files with 79 additions and 0 deletions

View File

@@ -240,6 +240,27 @@ export default function HealthChecksTable({
);
}
},
{
id: "site",
friendlyName: "Site",
header: () => (
<span className="p-3">Site</span>
),
cell: ({ row }) => {
const r = row.original;
if (!r.siteId || !r.siteName || !r.siteNiceId) {
return <span className="text-neutral-400">-</span>;
}
return (
<Link href={`/${orgId}/settings/sites/${r.siteNiceId}/general`}>
<Button variant="outline" size="sm">
{r.siteName}
<ArrowUpRight className="ml-2 h-3 w-3" />
</Button>
</Link>
);
}
},
{
id: "health",
friendlyName: t("standaloneHcColumnHealth"),