small fixes from testing

This commit is contained in:
miloschwartz
2025-12-05 14:48:33 -05:00
parent 2d3fbb9704
commit 96dbec9352
3 changed files with 6 additions and 6 deletions

View File

@@ -140,7 +140,7 @@ export default function Page() {
}, },
{ {
title: t("run"), title: t("run"),
command: `sudo olm --id ${id} --secret ${secret} --endpoint ${endpoint}` command: `sudo olm --id ${id} --secret ${secret} --endpoint ${endpoint} --org ${orgId}`
} }
] ]
}, },
@@ -152,7 +152,7 @@ export default function Page() {
}, },
{ {
title: t("run"), title: t("run"),
command: `olm.exe --id ${id} --secret ${secret} --endpoint ${endpoint}` command: `olm.exe --id ${id} --secret ${secret} --endpoint ${endpoint} --org ${orgId}`
} }
] ]
} }

View File

@@ -160,8 +160,8 @@ export default function ClientResourcesTable({
}, },
{ {
accessorKey: "siteName", accessorKey: "siteName",
friendlyName: t("siteName"), friendlyName: t("site"),
header: () => <span className="p-3">{t("siteName")}</span>, header: () => <span className="p-3">{t("site")}</span>,
cell: ({ row }) => { cell: ({ row }) => {
const resourceRow = row.original; const resourceRow = row.original;
return ( return (
@@ -219,7 +219,7 @@ export default function ClientResourcesTable({
), ),
cell: ({ row }) => { cell: ({ row }) => {
const resourceRow = row.original; const resourceRow = row.original;
return resourceRow.alias ? ( return resourceRow.mode === "host" && resourceRow.alias ? (
<CopyToClipboard <CopyToClipboard
text={resourceRow.alias} text={resourceRow.alias}
isLink={false} isLink={false}

View File

@@ -124,7 +124,7 @@ export default function UserDevicesTable({ userClients }: ClientTableProps) {
} }
}, },
{ {
accessorKey: "userId", accessorKey: "userEmail",
friendlyName: "User", friendlyName: "User",
header: ({ column }) => { header: ({ column }) => {
return ( return (