diff options
author | Anton Tananaev <anton@traccar.org> | 2022-10-24 21:29:00 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-10-24 21:29:00 -0700 |
commit | 744144fc8883a035c5a0b63b53535c2361656b3e (patch) | |
tree | 47d350a9bb6df5699f6a2742c0b0d8ebed69b938 /modern/src/settings/components | |
parent | 49b17ad4e4cef0dbc947bca4faee84829aa7a311 (diff) | |
download | trackermap-web-744144fc8883a035c5a0b63b53535c2361656b3e.tar.gz trackermap-web-744144fc8883a035c5a0b63b53535c2361656b3e.tar.bz2 trackermap-web-744144fc8883a035c5a0b63b53535c2361656b3e.zip |
Add devices page
Diffstat (limited to 'modern/src/settings/components')
-rw-r--r-- | modern/src/settings/components/SettingsMenu.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modern/src/settings/components/SettingsMenu.js b/modern/src/settings/components/SettingsMenu.js index 7a1bf1b3..6a431ba1 100644 --- a/modern/src/settings/components/SettingsMenu.js +++ b/modern/src/settings/components/SettingsMenu.js @@ -12,6 +12,7 @@ import BuildIcon from '@mui/icons-material/Build'; import PeopleIcon from '@mui/icons-material/People'; import TodayIcon from '@mui/icons-material/Today'; import PublishIcon from '@mui/icons-material/Publish'; +import SmartphoneIcon from '@mui/icons-material/Smartphone'; import { Link, useLocation } from 'react-router-dom'; import { useSelector } from 'react-redux'; import { useTranslation } from '../../common/components/LocalizationProvider'; @@ -62,6 +63,12 @@ const SettingsMenu = () => { selected={location.pathname === `/settings/user/${userId}`} /> <MenuItem + title={t('deviceTitle')} + link="/settings/devices" + icon={<SmartphoneIcon />} + selected={location.pathname.startsWith('/settings/device')} + /> + <MenuItem title={t('sharedGeofences')} link="/geofences" icon={<CreateIcon />} |