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