diff options
Diffstat (limited to 'modern/src/reports/TripReportPage.js')
-rw-r--r-- | modern/src/reports/TripReportPage.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modern/src/reports/TripReportPage.js b/modern/src/reports/TripReportPage.js index 8e03931b..37ba2e96 100644 --- a/modern/src/reports/TripReportPage.js +++ b/modern/src/reports/TripReportPage.js @@ -79,7 +79,6 @@ const TripReportPage = () => { return item[key]; } }; - return ( <PageLayout menu={<ReportsMenu />} breadcrumbs={['reportTitle', 'reportTrips']}> <ReportFilter handleSubmit={handleSubmit}> @@ -93,8 +92,8 @@ const TripReportPage = () => { </TableRow> </TableHead> <TableBody> - {items.map((item, index) => ( - <TableRow key={index}> + {items.map((item) => ( + <TableRow key={item.startPositionId}> {columns.map((key) => ( <TableCell key={key}> {formatValue(item, key)} |