aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports/TripReportPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/reports/TripReportPage.js')
-rw-r--r--modern/src/reports/TripReportPage.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/modern/src/reports/TripReportPage.js b/modern/src/reports/TripReportPage.js
index 91c165d..5ea8a19 100644
--- a/modern/src/reports/TripReportPage.js
+++ b/modern/src/reports/TripReportPage.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';
@@ -120,10 +121,13 @@ const TripReportPage = () => {
<DataGrid
rows={items}
columns={columns}
+ components={{
+ NoRowsOverlay: NoRowsOverlay,
+ }}
hideFooter
autoHeight
getRowId={() => Math.random()}
- />
+ />
</ReportLayout>
);
};