diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-25 09:45:38 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-25 09:45:38 -0700 |
commit | aba34cf75577423a63a8a73dfe634cf0841f81db (patch) | |
tree | c12d6c6f1242456da0b0756dcd0febb18cfd0049 /modern/src/reports | |
parent | ececc155f86163843f602c39002dd48769da2ce0 (diff) | |
download | trackermap-web-aba34cf75577423a63a8a73dfe634cf0841f81db.tar.gz trackermap-web-aba34cf75577423a63a8a73dfe634cf0841f81db.tar.bz2 trackermap-web-aba34cf75577423a63a8a73dfe634cf0841f81db.zip |
Link to replay from reports
Diffstat (limited to 'modern/src/reports')
-rw-r--r-- | modern/src/reports/components/ReportsMenu.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modern/src/reports/components/ReportsMenu.js b/modern/src/reports/components/ReportsMenu.js index afe9de79..09e287bf 100644 --- a/modern/src/reports/components/ReportsMenu.js +++ b/modern/src/reports/components/ReportsMenu.js @@ -9,6 +9,7 @@ import NotificationsActiveIcon from '@mui/icons-material/NotificationsActive'; import FormatListBulletedIcon from '@mui/icons-material/FormatListBulleted'; import TrendingUpIcon from '@mui/icons-material/TrendingUp'; import BarChartIcon from '@mui/icons-material/BarChart'; +import RouteIcon from '@mui/icons-material/Route'; import { Link, useLocation } from 'react-router-dom'; import { useTranslation } from '../../common/components/LocalizationProvider'; import { useAdministrator } from '../../common/util/permissions'; @@ -67,6 +68,11 @@ const ReportsMenu = () => { icon={<TrendingUpIcon />} selected={location.pathname === '/reports/chart'} /> + <MenuItem + title={t('reportReplay')} + link="/replay" + icon={<RouteIcon />} + /> </List> {admin && ( <> |