From 3e9bcada1e899aac16f60f24c3fc2dda1d2cbf9f Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Wed, 21 Jan 2026 12:33:33 -0800 Subject: [PATCH] dont show pending/deny approvals in oss --- src/components/UserDevicesTable.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/UserDevicesTable.tsx b/src/components/UserDevicesTable.tsx index a9555999..9d1469f1 100644 --- a/src/components/UserDevicesTable.tsx +++ b/src/components/UserDevicesTable.tsx @@ -548,7 +548,7 @@ export default function UserDevicesTable({ userClients }: ClientTableProps) { - {clientRow.approvalState === "pending" && ( + {clientRow.approvalState === "pending" && build !== "oss" && ( <> 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;