aboutsummaryrefslogtreecommitdiff
path: root/modern/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-02-04 13:28:23 -0800
committerAnton Tananaev <anton@traccar.org>2023-02-04 13:28:23 -0800
commitd941131d85cfd6c4fada44208a7a03a23749737e (patch)
tree936e2ad1eeedb23d06bea3c36ac6db923f8e1fe9 /modern/src
parent266f4cc2d14e14c1bbd273eed5708b9abde6159a (diff)
downloadtrackermap-web-d941131d85cfd6c4fada44208a7a03a23749737e.tar.gz
trackermap-web-d941131d85cfd6c4fada44208a7a03a23749737e.tar.bz2
trackermap-web-d941131d85cfd6c4fada44208a7a03a23749737e.zip
Hide combined report
Diffstat (limited to 'modern/src')
-rw-r--r--modern/src/Navigation.js2
-rw-r--r--modern/src/common/components/BottomMenu.js2
-rw-r--r--modern/src/reports/components/ReportsMenu.js7
3 files changed, 1 insertions, 10 deletions
diff --git a/modern/src/Navigation.js b/modern/src/Navigation.js
index 6d467dc0..f5b21dd9 100644
--- a/modern/src/Navigation.js
+++ b/modern/src/Navigation.js
@@ -49,7 +49,6 @@ import App from './App';
import ChangeServerPage from './other/ChangeServerPage';
import DevicesPage from './settings/DevicesPage';
import ScheduledPage from './reports/ScheduledPage';
-import CombinedReportPage from './reports/CombinedReportPage';
const Navigation = () => {
const navigate = useNavigate();
@@ -140,7 +139,6 @@ const Navigation = () => {
</Route>
<Route path="reports">
- <Route path="combined" element={<CombinedReportPage />} />
<Route path="chart" element={<ChartReportPage />} />
<Route path="event" element={<EventReportPage />} />
<Route path="route" element={<RouteReportPage />} />
diff --git a/modern/src/common/components/BottomMenu.js b/modern/src/common/components/BottomMenu.js
index cb9e34e1..e2b75959 100644
--- a/modern/src/common/components/BottomMenu.js
+++ b/modern/src/common/components/BottomMenu.js
@@ -82,7 +82,7 @@ const BottomMenu = () => {
navigate('/');
break;
case 'reports':
- navigate('/reports/combined');
+ navigate('/reports/route');
break;
case 'settings':
navigate('/settings/preferences');
diff --git a/modern/src/reports/components/ReportsMenu.js b/modern/src/reports/components/ReportsMenu.js
index c65a4c12..a31c3afe 100644
--- a/modern/src/reports/components/ReportsMenu.js
+++ b/modern/src/reports/components/ReportsMenu.js
@@ -11,7 +11,6 @@ import TrendingUpIcon from '@mui/icons-material/TrendingUp';
import BarChartIcon from '@mui/icons-material/BarChart';
import RouteIcon from '@mui/icons-material/Route';
import EventRepeatIcon from '@mui/icons-material/EventRepeat';
-import StarIcon from '@mui/icons-material/Star';
import { Link, useLocation } from 'react-router-dom';
import { useTranslation } from '../../common/components/LocalizationProvider';
import { useAdministrator, useRestriction } from '../../common/util/permissions';
@@ -36,12 +35,6 @@ const ReportsMenu = () => {
<>
<List>
<MenuItem
- title={t('reportCombined')}
- link="/reports/combined"
- icon={<StarIcon />}
- selected={location.pathname === '/reports/combined'}
- />
- <MenuItem
title={t('reportRoute')}
link="/reports/route"
icon={<TimelineIcon />}