-
+
+
+
+ {/* Details Dialog */}
+
)
}
diff --git a/src/components/admin/devices/admin-devices-overview.tsx b/src/components/admin/devices/admin-devices-overview.tsx
index db37ee4..3a3d0cb 100644
--- a/src/components/admin/devices/admin-devices-overview.tsx
+++ b/src/components/admin/devices/admin-devices-overview.tsx
@@ -2270,6 +2270,14 @@ export function AdminDevicesOverview({
{windowsDevices.map((device) => {
const checked = usbPolicySelection.includes(device.id)
+ const policyLabels: Record = {
+ ALLOW: "Permitido",
+ BLOCK_ALL: "Bloqueado",
+ READONLY: "Leitura",
+ }
+ const currentPolicy = device.usbPolicy ? policyLabels[device.usbPolicy] ?? device.usbPolicy : null
+ const isPending = device.usbPolicyStatus === "PENDING"
+ const isFailed = device.usbPolicyStatus === "FAILED"
return (