mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-31 23:29:08 +00:00
small fixes from testing
This commit is contained in:
@@ -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}`
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -124,7 +124,7 @@ export default function UserDevicesTable({ userClients }: ClientTableProps) {
|
||||
}
|
||||
},
|
||||
{
|
||||
accessorKey: "userId",
|
||||
accessorKey: "userEmail",
|
||||
friendlyName: "User",
|
||||
header: ({ column }) => {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user