From aba34cf75577423a63a8a73dfe634cf0841f81db Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 25 May 2022 09:45:38 -0700 Subject: Link to replay from reports --- modern/src/other/ReplayPage.js | 2 +- modern/src/reports/components/ReportsMenu.js | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'modern') 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 = () => {
- navigate('/')}> + navigate(-1)}> {t('reportReplay')} 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={} selected={location.pathname === '/reports/chart'} /> + } + /> {admin && ( <> -- cgit v1.2.3