From 98f2dd952e35e41045c7c9f925e229000bbe4797 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 8 May 2022 18:11:23 -0700 Subject: Migrate reports to page layout --- modern/src/reports/StopReportPage.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'modern/src/reports/StopReportPage.js') diff --git a/modern/src/reports/StopReportPage.js b/modern/src/reports/StopReportPage.js index 0dca99b3..8dc71af6 100644 --- a/modern/src/reports/StopReportPage.js +++ b/modern/src/reports/StopReportPage.js @@ -5,9 +5,10 @@ import { formatDistance, formatHours, formatDate, formatVolume, } from '../common/util/formatter'; import ReportFilter from './components/ReportFilter'; -import ReportLayout from './components/ReportLayout'; import { useAttributePreference } from '../common/util/preferences'; import { useTranslation } from '../common/components/LocalizationProvider'; +import PageLayout from '../common/components/PageLayout'; +import ReportsMenu from './components/ReportsMenu'; const Filter = ({ setItems }) => { const handleSubmit = async (deviceId, from, to, mail, headers) => { @@ -85,7 +86,8 @@ const StopReportPage = () => { }]; return ( - }> + } breadcrumbs={['reportTitle', 'reportStops']}> + { autoHeight getRowId={() => Math.random()} /> - + ); }; -- cgit v1.2.3