diff --git a/frontend/src/components/map/DeviceMarker.tsx b/frontend/src/components/map/DeviceMarker.tsx index 50fe04b..bbfd1a5 100644 --- a/frontend/src/components/map/DeviceMarker.tsx +++ b/frontend/src/components/map/DeviceMarker.tsx @@ -2,6 +2,7 @@ import { Marker, Popup } from 'react-leaflet' import L from 'leaflet' import { Link } from '@tanstack/react-router' import type { FleetDevice } from '@/lib/api' +import { DeviceLink } from '@/components/ui/device-link' import { formatUptime } from '@/lib/utils' interface DeviceMarkerProps { @@ -57,7 +58,9 @@ export function DeviceMarker({ device, tenantId }: DeviceMarkerProps) {
-
{device.hostname}
+ + {device.hostname} +
IP: {device.ip_address}
{device.model &&
Model: {device.model}
} @@ -72,13 +75,6 @@ export function DeviceMarker({ device, tenantId }: DeviceMarkerProps) {
- - View Details → -