dont show pending/deny approvals in oss

This commit is contained in:
miloschwartz
2026-01-21 12:33:33 -08:00
parent 93d4bd6438
commit 3e9bcada1e

View File

@@ -548,7 +548,7 @@ export default function UserDevicesTable({ userClients }: ClientTableProps) {
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent align="end">
{clientRow.approvalState === "pending" && (
{clientRow.approvalState === "pending" && build !== "oss" && (
<>
<DropdownMenuItem
onClick={() => approveDevice(clientRow)}
@@ -653,7 +653,7 @@ export default function UserDevicesTable({ userClients }: ClientTableProps) {
];
if (build === "oss") {
return allOptions.filter((option) => option.value !== "pending");
return allOptions.filter((option) => option.value !== "pending" && option.value !== "denied");
}
return allOptions;