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