diff options
Diffstat (limited to 'modern/src/reports/TripReportPage.js')
-rw-r--r-- | modern/src/reports/TripReportPage.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modern/src/reports/TripReportPage.js b/modern/src/reports/TripReportPage.js index 74451bc..0803eec 100644 --- a/modern/src/reports/TripReportPage.js +++ b/modern/src/reports/TripReportPage.js @@ -71,6 +71,8 @@ const TripReportPage = () => { const [items, setItems] = useState([]); + console.log(items); + const columns = [{ headerName: t('reportStartTime'), field: 'startTime', @@ -87,7 +89,6 @@ const TripReportPage = () => { headerName: t('reportStartAddress'), field: 'startAddress', type: 'string', - hide: true, width: theme.dimensions.columnWidthString, }, { headerName: t('reportEndTime'), @@ -105,7 +106,6 @@ const TripReportPage = () => { headerName: t('reportEndAddress'), field: 'endAddress', type: 'string', - hide: true, width: theme.dimensions.columnWidthString, }, { headerName: t('sharedDistance'), @@ -124,6 +124,7 @@ const TripReportPage = () => { field: 'maxSpeed', type: 'number', width: theme.dimensions.columnWidthNumber, + hide: true, valueFormatter: ({ value }) => formatSpeed(value, speedUnit, t), }, { headerName: t('reportDuration'), |