aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-14 19:05:53 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-14 19:05:53 -0700
commit49782b267d85fc00f999a3e4c2161bad10b73585 (patch)
tree0cf1ec08be260ec1b8a584b998428efbf7f315fd /modern
parent9027b70996d2c39e51dee1e3fc9b55336c480a60 (diff)
downloadtrackermap-web-49782b267d85fc00f999a3e4c2161bad10b73585.tar.gz
trackermap-web-49782b267d85fc00f999a3e4c2161bad10b73585.tar.bz2
trackermap-web-49782b267d85fc00f999a3e4c2161bad10b73585.zip
Fix issues
Diffstat (limited to 'modern')
-rw-r--r--modern/src/reports/RouteReportPage.js1
-rw-r--r--modern/src/reports/components/ColumnSelect.js10
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;