Fix strings and local sites

This commit is contained in:
Owen
2026-04-22 12:23:38 -07:00
parent d0b0d95b9a
commit 3d5260b13e
4 changed files with 66 additions and 36 deletions

View File

@@ -46,7 +46,7 @@ export type SiteRow = {
mbIn: string;
mbOut: string;
orgId: string;
type: "newt" | "wireguard";
type: "newt" | "wireguard" | "local";
newtVersion?: string;
newtUpdateAvailable?: boolean;
online: boolean;
@@ -236,6 +236,9 @@ export default function SitesTable({
header: () => <span className="p-3">{t("uptime30d")}</span>,
cell: ({ row }) => {
const originalRow = row.original;
if (originalRow.type == "local") {
return <span>-</span>;
}
return (
<UptimeMiniBar siteId={originalRow.id} days={30} />
);