aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-08-06 21:15:31 -0700
committerAnton Tananaev <anton@traccar.org>2022-08-06 21:15:31 -0700
commitd59d3a9b40f11a5d99e6a1b2ae8c1828b5be8abc (patch)
treeed4d58a11295b1a6e6e1de59fd32ad63c7a2551b /modern/src/reports
parentaec2787da25b338a48b6965f10bb024831a58572 (diff)
downloadtrackermap-web-d59d3a9b40f11a5d99e6a1b2ae8c1828b5be8abc.tar.gz
trackermap-web-d59d3a9b40f11a5d99e6a1b2ae8c1828b5be8abc.tar.bz2
trackermap-web-d59d3a9b40f11a5d99e6a1b2ae8c1828b5be8abc.zip
Fix report shimmer
Diffstat (limited to 'modern/src/reports')
-rw-r--r--modern/src/reports/RouteReportPage.js2
-rw-r--r--modern/src/reports/SummaryReportPage.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/reports/RouteReportPage.js b/modern/src/reports/RouteReportPage.js
index d60b241c..bce63e31 100644
--- a/modern/src/reports/RouteReportPage.js
+++ b/modern/src/reports/RouteReportPage.js
@@ -118,7 +118,7 @@ const RouteReportPage = () => {
</TableCell>
))}
</TableRow>
- )) : (<TableShimmer columns={columns.length + 1} startAction />)}
+ )) : (<TableShimmer columns={columns.length + 2} startAction />)}
</TableBody>
</Table>
</div>
diff --git a/modern/src/reports/SummaryReportPage.js b/modern/src/reports/SummaryReportPage.js
index 77c42cba..f8216155 100644
--- a/modern/src/reports/SummaryReportPage.js
+++ b/modern/src/reports/SummaryReportPage.js
@@ -127,7 +127,7 @@ const SummaryReportPage = () => {
</TableCell>
))}
</TableRow>
- )) : (<TableShimmer columns={columns.length} />)}
+ )) : (<TableShimmer columns={columns.length + 1} />)}
</TableBody>
</Table>
</PageLayout>