diff --git a/frontend/src/components/dashboard/EventsTimeline.tsx b/frontend/src/components/dashboard/EventsTimeline.tsx index 4d40f2b..36f3c73 100644 --- a/frontend/src/components/dashboard/EventsTimeline.tsx +++ b/frontend/src/components/dashboard/EventsTimeline.tsx @@ -5,6 +5,7 @@ import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card' import { Skeleton } from '@/components/ui/skeleton' import { cn } from '@/lib/utils' import { eventsApi, type DashboardEvent, type EventsParams } from '@/lib/eventsApi' +import { DeviceLink } from '@/components/ui/device-link' export interface EventsTimelineProps { tenantId: string @@ -171,7 +172,14 @@ export function EventsTimeline({ tenantId, isSuperAdmin }: EventsTimelineProps) {event.description} {event.device_hostname && ( - — {event.device_hostname} + —{' '} + {event.device_id ? ( + + {event.device_hostname} + + ) : ( + event.device_hostname + )} )}