diff --git a/src/components/admin/devices/admin-devices-overview.tsx b/src/components/admin/devices/admin-devices-overview.tsx index a527d68..4f87279 100644 --- a/src/components/admin/devices/admin-devices-overview.tsx +++ b/src/components/admin/devices/admin-devices-overview.tsx @@ -5683,6 +5683,7 @@ function DevicesGrid({ devices, companyNameBySlug }: { devices: DevicesQueryItem function DeviceCard({ device, companyName }: { device: DevicesQueryItem; companyName?: string | null }) { const router = useRouter() const effectiveStatus = resolveDeviceStatus(device) + const statusIndicator = getDeviceStatusIndicator(effectiveStatus) const isActive = device.isActive const lastHeartbeat = device.lastHeartbeatAt ? new Date(device.lastHeartbeatAt) : null const deviceType = (device.deviceType ?? "desktop").toLowerCase() @@ -5730,23 +5731,15 @@ function DeviceCard({ device, companyName }: { device: DevicesQueryItem; company
Acesso remoto
+Acesso remoto
{remoteShortcutHostname ? ( -Host: {remoteShortcutHostname}
++ Host: {remoteShortcutHostname} +
) : null} {remoteShortcutAccess?.identifier ? ( -ID RustDesk: {remoteShortcutAccess.identifier}
++ ID RustDesk: {remoteShortcutAccess.identifier} +
) : null} -Status: {remoteShortcutStatusLabel}
++ Status: {remoteShortcutStatusLabel} +