aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports/components
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-12-30 15:21:02 -0800
committerAnton Tananaev <anton@traccar.org>2023-12-30 15:21:02 -0800
commit6b74ea793333313ae578d7f7203aad0e5b854f7d (patch)
tree9f18a967d4a3db09fbcd21aa9820a1503b615784 /modern/src/reports/components
parent363d473ce27a4d672110005f4dcde6576eb68ccc (diff)
downloadtrackermap-web-6b74ea793333313ae578d7f7203aad0e5b854f7d.tar.gz
trackermap-web-6b74ea793333313ae578d7f7203aad0e5b854f7d.tar.bz2
trackermap-web-6b74ea793333313ae578d7f7203aad0e5b854f7d.zip
Support unknown devices logs
Diffstat (limited to 'modern/src/reports/components')
-rw-r--r--modern/src/reports/components/ReportsMenu.jsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/modern/src/reports/components/ReportsMenu.jsx b/modern/src/reports/components/ReportsMenu.jsx
index 76564e11..a45a4500 100644
--- a/modern/src/reports/components/ReportsMenu.jsx
+++ b/modern/src/reports/components/ReportsMenu.jsx
@@ -90,12 +90,14 @@ const ReportsMenu = () => {
title={t('sharedLogs')}
link="/reports/logs"
icon={<NotesIcon />}
+ selected={location.pathname === '/reports/logs'}
/>
{!readonly && (
<MenuItem
title={t('reportScheduled')}
link="/reports/scheduled"
icon={<EventRepeatIcon />}
+ selected={location.pathname === '/reports/scheduled'}
/>
)}
{admin && (