aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports/components
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-03-10 15:31:51 -0800
committerAnton Tananaev <anton@traccar.org>2023-03-10 15:31:51 -0800
commit89f03d191e262947b596b59a3341182513109119 (patch)
treee84024b9102fe62c8b68cc288f30072320f1b2f8 /modern/src/reports/components
parentaef4f9bb31cfb0f0b86dc167b679669c80f365d3 (diff)
downloadtrackermap-web-89f03d191e262947b596b59a3341182513109119.tar.gz
trackermap-web-89f03d191e262947b596b59a3341182513109119.tar.bz2
trackermap-web-89f03d191e262947b596b59a3341182513109119.zip
Enable combined report
Diffstat (limited to 'modern/src/reports/components')
-rw-r--r--modern/src/reports/components/ReportsMenu.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/modern/src/reports/components/ReportsMenu.js b/modern/src/reports/components/ReportsMenu.js
index a31c3afe..a6c38578 100644
--- a/modern/src/reports/components/ReportsMenu.js
+++ b/modern/src/reports/components/ReportsMenu.js
@@ -2,6 +2,7 @@ import React from 'react';
import {
Divider, List, ListItemButton, ListItemIcon, ListItemText,
} from '@mui/material';
+import StarIcon from '@mui/icons-material/Star';
import TimelineIcon from '@mui/icons-material/Timeline';
import PauseCircleFilledIcon from '@mui/icons-material/PauseCircleFilled';
import PlayCircleFilledIcon from '@mui/icons-material/PlayCircleFilled';
@@ -35,6 +36,12 @@ 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 />}