diff options
Diffstat (limited to 'modern/src/reports/SummaryReportPage.js')
-rw-r--r-- | modern/src/reports/SummaryReportPage.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modern/src/reports/SummaryReportPage.js b/modern/src/reports/SummaryReportPage.js index d58f7568..56e4c7ed 100644 --- a/modern/src/reports/SummaryReportPage.js +++ b/modern/src/reports/SummaryReportPage.js @@ -76,7 +76,6 @@ const SummaryReportPage = () => { return item[key]; } }; - return ( <PageLayout menu={<ReportsMenu />} breadcrumbs={['reportTitle', 'reportSummary']}> <ReportFilter handleSubmit={handleSubmit}> @@ -99,8 +98,8 @@ const SummaryReportPage = () => { </TableRow> </TableHead> <TableBody> - {items.map((item, index) => ( - <TableRow key={index}> + {items.map((item) => ( + <TableRow key={item.deviceId}> {columns.map((key) => ( <TableCell key={key}> {formatValue(item, key)} |