diff --git a/src/components/admin/devices/admin-devices-overview.tsx b/src/components/admin/devices/admin-devices-overview.tsx index d159c25..d42212a 100644 --- a/src/components/admin/devices/admin-devices-overview.tsx +++ b/src/components/admin/devices/admin-devices-overview.tsx @@ -5749,6 +5749,7 @@ function DevicesGrid({ devices, companyNameBySlug }: { devices: DevicesQueryItem } function DeviceCard({ device, companyName }: { device: DevicesQueryItem; companyName?: string | null }) { + const router = useRouter() const effectiveStatus = resolveDeviceStatus(device) const isActive = device.isActive const lastHeartbeat = device.lastHeartbeatAt ? new Date(device.lastHeartbeatAt) : null @@ -5840,7 +5841,17 @@ function DeviceCard({ device, companyName }: { device: DevicesQueryItem; company Usuário vinculado: {collaborator.name ? `${collaborator.name} · ` : ""}{collaborator.email} - Gerenciar usuários + ) : null} {!isActive ? (