diff --git a/src/components/admin/devices/admin-devices-overview.tsx b/src/components/admin/devices/admin-devices-overview.tsx index 2502a11..44ffb54 100644 --- a/src/components/admin/devices/admin-devices-overview.tsx +++ b/src/components/admin/devices/admin-devices-overview.tsx @@ -6364,6 +6364,13 @@ function DeviceCard({ device, companyName }: { device: DevicesQueryItem; company })() const persona = collaborator?.role === "manager" ? "Gestor" : "Colaborador" const companyLabel = companyName ?? device.companySlug ?? null + const windowsActivationStatus = (() => { + const inv = device.inventory as DeviceInventory | null + const windowsExt = inv?.extended?.windows + const osInfo = parseWindowsOsInfo(windowsExt?.osInfo) + if (!osInfo) return null + return osInfo.isActivated ?? (typeof osInfo.licenseStatus === "number" ? osInfo.licenseStatus === 1 : null) + })() return ( @@ -6396,14 +6403,6 @@ function DeviceCard({ device, companyName }: { device: DevicesQueryItem; company {device.devicePlatform} > ) : null} - {device.authEmail ? ( - <> - • - - {device.authEmail} - - > - ) : null} {collaborator?.email ? (