aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-01-13 17:34:00 -0800
committerAnton Tananaev <anton@traccar.org>2023-01-13 17:34:24 -0800
commit9216b5f899540f47369ba624bcdc37574e09965a (patch)
tree9515a3c2e2310fc0798795425487fbcb2cd2d432 /modern
parentfc378b39393a79f2364aa5cb7b07084deffd23d9 (diff)
downloadtrackermap-web-9216b5f899540f47369ba624bcdc37574e09965a.tar.gz
trackermap-web-9216b5f899540f47369ba624bcdc37574e09965a.tar.bz2
trackermap-web-9216b5f899540f47369ba624bcdc37574e09965a.zip
Limit route report size
Diffstat (limited to 'modern')
-rw-r--r--modern/src/reports/RouteReportPage.js2
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 ? (