diff options
Diffstat (limited to 'modern/src/reports')
-rw-r--r-- | modern/src/reports/CombinedReportPage.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modern/src/reports/CombinedReportPage.js b/modern/src/reports/CombinedReportPage.js index a5d994fe..59d5fb69 100644 --- a/modern/src/reports/CombinedReportPage.js +++ b/modern/src/reports/CombinedReportPage.js @@ -54,7 +54,11 @@ const CombinedReportPage = () => { <MapView> <MapGeofence /> {items.map((item) => ( - <MapRoutePath key={item.deviceId} coordinates={item.route} /> + <MapRoutePath + key={item.deviceId} + name={devices[item.deviceId].name} + coordinates={item.route} + /> ))} </MapView> <MapCamera coordinates={items.flatMap((item) => item.route)} /> |