diff options
-rw-r--r-- | modern/src/other/ReplayPage.js | 2 | ||||
-rw-r--r-- | modern/src/reports/components/ReportsMenu.js | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/modern/src/other/ReplayPage.js b/modern/src/other/ReplayPage.js index b217b374..14f9d79b 100644 --- a/modern/src/other/ReplayPage.js +++ b/modern/src/other/ReplayPage.js @@ -152,7 +152,7 @@ const ReplayPage = () => { <div className={classes.sidebar}> <Paper elevation={3} square> <Toolbar> - <IconButton onClick={() => navigate('/')}> + <IconButton onClick={() => navigate(-1)}> <ArrowBackIcon /> </IconButton> <Typography variant="h6" className={classes.title}>{t('reportReplay')}</Typography> 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 && ( <> |