aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports/StopReportPage.js
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2021-12-20 22:27:38 -0600
committerIván Ávalos <avalos@disroot.org>2021-12-20 22:27:38 -0600
commit5b77af549c94a4cda8c5ca4764c7fbc4d8f065a3 (patch)
tree0213e1a13662716ca002e891da285a1d1c486942 /modern/src/reports/StopReportPage.js
parentcb9728775b0e5eca8c705c0e2c61f9171b7068d9 (diff)
downloadetbsa-traccar-web-5b77af549c94a4cda8c5ca4764c7fbc4d8f065a3.tar.gz
etbsa-traccar-web-5b77af549c94a4cda8c5ca4764c7fbc4d8f065a3.tar.bz2
etbsa-traccar-web-5b77af549c94a4cda8c5ca4764c7fbc4d8f065a3.zip
Localized grid no rows message, removed e-mail report button, among other report-related changes
Diffstat (limited to 'modern/src/reports/StopReportPage.js')
-rw-r--r--modern/src/reports/StopReportPage.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/modern/src/reports/StopReportPage.js b/modern/src/reports/StopReportPage.js
index f84b7e6..8b3974f 100644
--- a/modern/src/reports/StopReportPage.js
+++ b/modern/src/reports/StopReportPage.js
@@ -6,6 +6,7 @@ import {
} from '../common/formatter';
import ReportFilter from './ReportFilter';
import ReportLayout from './ReportLayout';
+import NoRowsOverlay from './NoRowsOverlay';
import { useAttributePreference } from '../common/preferences';
import { useTranslation } from '../LocalizationProvider';
@@ -89,6 +90,9 @@ const StopReportPage = () => {
<DataGrid
rows={items}
columns={columns}
+ components={{
+ NoRowsOverlay: NoRowsOverlay
+ }}
hideFooter
autoHeight
getRowId={() => Math.random()}