diff options
author | Anton Tananaev <anton@traccar.org> | 2023-01-13 17:34:00 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-01-13 17:34:24 -0800 |
commit | 9216b5f899540f47369ba624bcdc37574e09965a (patch) | |
tree | 9515a3c2e2310fc0798795425487fbcb2cd2d432 /modern/src/reports/RouteReportPage.js | |
parent | fc378b39393a79f2364aa5cb7b07084deffd23d9 (diff) | |
download | trackermap-web-9216b5f899540f47369ba624bcdc37574e09965a.tar.gz trackermap-web-9216b5f899540f47369ba624bcdc37574e09965a.tar.bz2 trackermap-web-9216b5f899540f47369ba624bcdc37574e09965a.zip |
Limit route report size
Diffstat (limited to 'modern/src/reports/RouteReportPage.js')
-rw-r--r-- | modern/src/reports/RouteReportPage.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/reports/RouteReportPage.js b/modern/src/reports/RouteReportPage.js index 8d967b19..011216fd 100644 --- a/modern/src/reports/RouteReportPage.js +++ b/modern/src/reports/RouteReportPage.js @@ -107,7 +107,7 @@ const RouteReportPage = () => { </TableRow> </TableHead> <TableBody> - {!loading ? items.map((item) => ( + {!loading ? items.slice(0, 4000).map((item) => ( <TableRow key={item.id}> <TableCell className={classes.columnAction} padding="none"> {selectedItem === item ? ( |