diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-22 09:10:05 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-22 09:10:05 -0700 |
commit | adca1297c6eebefdcdb6a5be25adc2f2b9d15559 (patch) | |
tree | 85408a68b4e236bab1d961641200c977ef64a514 /modern/src/reports | |
parent | 50a97b2ec3a3a22955cae8bfd6a766b3abb2cf27 (diff) | |
download | trackermap-web-adca1297c6eebefdcdb6a5be25adc2f2b9d15559.tar.gz trackermap-web-adca1297c6eebefdcdb6a5be25adc2f2b9d15559.tar.bz2 trackermap-web-adca1297c6eebefdcdb6a5be25adc2f2b9d15559.zip |
List items and disabled device
Diffstat (limited to 'modern/src/reports')
-rw-r--r-- | modern/src/reports/components/ReportsMenu.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modern/src/reports/components/ReportsMenu.js b/modern/src/reports/components/ReportsMenu.js index 09e287bf..dc0da4b9 100644 --- a/modern/src/reports/components/ReportsMenu.js +++ b/modern/src/reports/components/ReportsMenu.js @@ -1,6 +1,6 @@ import React from 'react'; import { - Divider, List, ListItem, ListItemIcon, ListItemText, + Divider, List, ListItemButton, ListItemIcon, ListItemText, } from '@mui/material'; import TimelineIcon from '@mui/icons-material/Timeline'; import PauseCircleFilledIcon from '@mui/icons-material/PauseCircleFilled'; @@ -17,10 +17,10 @@ import { useAdministrator } from '../../common/util/permissions'; const MenuItem = ({ title, link, icon, selected, }) => ( - <ListItem button key={link} component={Link} to={link} selected={selected}> + <ListItemButton button key={link} component={Link} to={link} selected={selected}> <ListItemIcon>{icon}</ListItemIcon> <ListItemText primary={title} /> - </ListItem> + </ListItemButton> ); const ReportsMenu = () => { |