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

View File

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