diff options
-rw-r--r-- | modern/src/reports/RouteReportPage.js | 1 | ||||
-rw-r--r-- | modern/src/reports/components/ColumnSelect.js | 10 |
2 files changed, 7 insertions, 4 deletions
diff --git a/modern/src/reports/RouteReportPage.js b/modern/src/reports/RouteReportPage.js index 67eb4962..98f2cd5c 100644 --- a/modern/src/reports/RouteReportPage.js +++ b/modern/src/reports/RouteReportPage.js @@ -8,6 +8,7 @@ import PageLayout from '../common/components/PageLayout'; import ReportsMenu from './components/ReportsMenu'; import usePersistedState from '../common/util/usePersistedState'; import PositionValue from '../common/components/PositionValue'; +import ColumnSelect from './components/ColumnSelect'; const columnsArray = [ ['fixTime', 'positionFixTime'], diff --git a/modern/src/reports/components/ColumnSelect.js b/modern/src/reports/components/ColumnSelect.js index 98e97420..de7a156b 100644 --- a/modern/src/reports/components/ColumnSelect.js +++ b/modern/src/reports/components/ColumnSelect.js @@ -1,10 +1,12 @@ -import { useTranslation } from "../../common/components/LocalizationProvider"; -import { useFilterStyles } from "./ReportFilter"; +import React from 'react'; +import { FormControl, InputLabel, MenuItem, Select } from '@material-ui/core'; +import { useTranslation } from '../../common/components/LocalizationProvider'; +import { useFilterStyles } from './ReportFilter'; const ColumnSelect = ({ columns, setColumns, columnsArray }) => { const classes = useFilterStyles(); const t = useTranslation(); - + return ( <div className={classes.item}> <FormControl variant="filled" fullWidth> @@ -23,5 +25,5 @@ const ColumnSelect = ({ columns, setColumns, columnsArray }) => { </div> ); }; - + export default ColumnSelect; |